The number 107871 (one hundred seven thousand eight hundred seventy-one) is written in Roman numerals as follows: CVIIDCCCLXXI