Smarkets interview question

Roman numbers challenge