Procore Technologies interview question

Roman Numerals to Integers