Amazon interview question

Roman to Integer, integer to roman