The number 871989 (eight hundred seventy-one thousand nine hundred eighty-nine) is written in Roman numerals as follows: DCCCLXXICMLXXXIX