The number 874023 (eight hundred seventy-four thousand twenty-three) is written in Roman numerals as follows: DCCCLXXIVXXIII