The number 112871 (one hundred twelve thousand eight hundred seventy-one) is written in Roman numerals as follows: CXIIDCCCLXXI