Intel Corporation Interview Question

How to convert Roman numbers to Arabic numbers