The number 28871 (twenty-eight thousand eight hundred seventy-one) is written in Roman numerals as follows: XXVIIIDCCCLXXI