CME Group interview question

Convert a roman numeral to an integer.