The number 872027 (eight hundred seventy-two thousand twenty-seven) is written in Roman numerals as follows: DCCCLXXIIXXVII