Roman numbers

Write a program which takes a natural number (written in Arabic numerals, greater than zero and less than 4000), and then prints it in Roman form. For example, after input 94 your program should print XCIV or xciv, and after input 611, your program should print DCXI or dcxi.