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