Roman numeral rules
Roman numerals use seven symbols: I (1), V (5), X (10), L (50), C (100), D (500), and M (1000). When a smaller-value symbol appears before a larger one, it is subtracted. Otherwise symbols are added left to right.
Standard form limits repetition to three consecutive identical symbols and uses specific subtractive pairs: IV, IX, XL, XC, CD, and CM.