Roman Converter

I: 1, V: 5, X: 10, L: 50, C: 100, D: 500, M: 1000

If a numeral is less than the following numeral, subtract them. For example, IV is 4. Otherwise, add them. For example, VI is 6.