The number 318022 (three hundred eighteen thousand twenty-two) is written in Roman numerals as follows: CCCXVIIIXXII