The number 978871 (nine hundred seventy-eight thousand eight hundred seventy-one) is written in Roman numerals as follows: CMLXXVIIIDCCCLXXI