Convert between Arabic numerals and Roman numerals (1–3999).