The number 871012 (eight hundred seventy-one thousand twelve) is written in Roman numerals as follows: DCCCLXXIXII