The number 10872 (ten thousand eight hundred seventy-two) is written in Roman numerals as follows: XDCCCLXXII