The number 877012 (eight hundred seventy-seven thousand twelve) is written in Roman numerals as follows: DCCCLXXVIIXII