Smarkets Interview Question

Roman numbers challenge