The number 26871 (twenty-six thousand eight hundred seventy-one) is written in Roman numerals as follows: XXVIDCCCLXXI