KataRomanNumerals
I = 1
V = 5
X = 10
L = 50
C = 100
D = 500
M = 1000
Note that you can't write numerals like "IM" for 999. Wikipedia says: Modern Roman numerals ... are written by expressing each digit separately starting with the left most digit and skipping any digit with a value of zero.
1990 is written as
1000=M
900=CM
90=XC
resulting in MCMXC
2008 is written as
2000=MM
8=VIII
resulting in MMVIII