The number 987789 (nine hundred eighty-seven thousand seven hundred eighty-nine) is written in Roman numerals as follows: CMLXXXVIIDCCLXXXIX