The number 77840 (seventy-seven thousand eight hundred forty) is written in Roman numerals as follows: LXXVIIDCCCXL