The number 304997 (three hundred four thousand nine hundred ninety-seven) is written in Roman numerals as follows: CCCIVCMXCVII