The number 878021 (eight hundred seventy-eight thousand twenty-one) is written in Roman numerals as follows: DCCCLXXVIIIXXI