Varis interview question

Convert roman numerals to a number.