The number 842077 (eight hundred forty-two thousand seventy-seven) is written in Roman numerals as follows: DCCCXLIILXXVII