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