Roman to Decimal

Lazy Cows Don't Moo.

Run 8

Input

M

Expected Output

1000