Amazon interview question

The problem statement was basically a string manipulation problem where in an integer was to be converted to its roman equivalent.