Roman Numerals I

View as PDF

Submit solution

Points: 3
Time limit: 2.0s
Memory limit: 64M

Author:
Problem type

The numbering system we use today is known as Arabic Numerals. The ancient Romans used a numbering system called Roman Numerals. The following is a conversion table for converting Arabic Numerals to Roman Numerals.

1    I
2    II
3    III
4    IV
5    V
6    VI
7    VII
8    VIII
9    IX
10   X

Given an Arabic Numeral from 1-10, determine the corresponding Roman Numeral.

Input Specification

The only line of input is a number n (1 \le n \le 10).

Output Specification

Print n in Roman Numerals.


Comments

There are no comments at the moment.