The number 118871 (one hundred eighteen thousand eight hundred seventy-one) is written in Roman numerals as follows: CXVIIIDCCCLXXI