The number 102871 (one hundred two thousand eight hundred seventy-one) is written in Roman numerals as follows: CIIDCCCLXXI