Intel Corporation interview question

Convert Roman number to decimal