Fidessa Interview Question

Coding challenge to convert a roman number into decimal.