Qualtrics interview question

Given a string that creates a Roman Numeral, return the integer value equivalent.