Amazon Interview Question

roman numbers to literal conversion