The number 312221 (three hundred twelve thousand two hundred twenty-one) is written in Roman numerals as follows: CCCXIICCXXI