The number 331022 (three hundred thirty-one thousand twenty-two) is written in Roman numerals as follows: CCCXXXIXXII