Pergunta de entrevista da empresa Oracle

Given a string containing Roman characters. Convert Roman to Integer