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