The number 12271 (twelve thousand two hundred seventy-one) is written in Roman numerals as follows: XIICCLXXI