The number 304942 (three hundred four thousand nine hundred forty-two) is written in Roman numerals as follows: CCCIVCMXLII