The number 25271 (twenty-five thousand two hundred seventy-one) is written in Roman numerals as follows: XXVCCLXXI