Luxoft interview question

Implement a Roman to Arabic numeral converter.