The number 987221 (nine hundred eighty-seven thousand two hundred twenty-one) is written in Roman numerals as follows: CMLXXXVIICCXXI