HCLTech interview question

Write a program to input an integer and return its Roman value.