The number 317022 (three hundred seventeen thousand twenty-two) is written in Roman numerals as follows: CCCXVIIXXII