The number 34221 (thirty-four thousand two hundred twenty-one) is written in Roman numerals as follows: XXXIVCCXXI