eolymp
bolt
Try our new interface for solving problems
Problems

The Roman numeral system

The Roman numeral system

Given the number \textbf{X}. Want to put this number in Roman numerals. \InputFile Given the number \textbf{X} in decimal system (\textbf{1} ≤ \textbf{X} ≤ \textbf{4000}). \OutputFile Display the \textbf{X} in the Roman numeral system.
Time limit 1 second
Memory limit 64 MiB
Input example #1
1745
Output example #1
MDCCXLV