The number 25771 (twenty-five thousand seven hundred seventy-one) is written in Roman numerals as follows: XXVDCCLXXI