The number 21271 (twenty-one thousand two hundred seventy-one) is written in Roman numerals as follows: XXICCLXXI