Pregunta de entrevista de Qualtrics

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