Convert Roman numerals to numbers and back.
Standard subtractive notation from 1 to 3999. Input is validated both ways, so IIII and MMMM are rejected rather than quietly accepted.