The number 78871 (seventy-eight thousand eight hundred seventy-one) is written in Roman numerals as follows: LXXVIIIDCCCLXXI