The number 874012 (eight hundred seventy-four thousand twelve) is written in Roman numerals as follows: DCCCLXXIVXII