The number 997804 (nine hundred ninety-seven thousand eight hundred four) is written in Roman numerals as follows: CMXCVIIDCCCIV