Microsoft Interview Question

How to convert roman number into int number