The number 304027 (three hundred four thousand twenty-seven) is written in Roman numerals as follows: CCCIVXXVII