The number 887871 (eight hundred eighty-seven thousand eight hundred seventy-one) is written in Roman numerals as follows: DCCCLXXXVIIDCCCLXXI