The number 998871 (nine hundred ninety-eight thousand eight hundred seventy-one) is written in Roman numerals as follows: CMXCVIIIDCCCLXXI