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