The number 317221 (three hundred seventeen thousand two hundred twenty-one) is written in Roman numerals as follows: CCCXVIICCXXI