Theory:

Roman numeral is a number system that originated in ancient roman. Ancient Romans used some special notation to show numbers. In this system, the numbers are represented by the Latin alphabets.
Basic Roman symbols:
 
1510501005001000
IVXLCDM
 
 
Combination of Roman numerals:
 
123456789
IIIIIIIVVVIVIIVIIIIX
 
 
102030405060708090
XXXXXXXLLLXLXXLXXXXC
 
 
100200300400500600700800900
CCCCCCCDDDCDCCDCCCCM
 
Rules for forming numbers:
  • If a symbol is repeated, its value is added as many times as it occurs. For example, \(XXX = 10+10+10 =30, DCC =500 +100+100 = 700\)
  • Any symbol appears after the large symbol, add it. For example, \(VII = V+II = 5 + 2 = 7\).
  • Any symbol appears before the large symbol, subtract it. For example, \(XIX = X+IX = 10+(10-1) = 10+9 = 19\)
Important!
Same symbols cannot be used more than three times continuously.
Write in Roman numeral form:
Example:
96=90+6=(10010)+(5+1)=XC+VI=XCVI2467=2000++400+60+7=(1000+1000)+(500100)+(50+10)+(5+2)=M+M+CD+LX+VII=MMCDLXVII