The number 20878 (twenty thousand eight hundred seventy-eight) is written in Roman numerals as follows: XXDCCCLXXVIII