The number 34271 (thirty-four thousand two hundred seventy-one) is written in Roman numerals as follows: XXXIVCCLXXI