The number 313997 (three hundred thirteen thousand nine hundred ninety-seven) is written in Roman numerals as follows: CCCXIIICMXCVII