Argos interview question

Convert a roman number to integer (arabic)