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