The number 12878 (twelve thousand eight hundred seventy-eight) is written in Roman numerals as follows: XIIDCCCLXXVIII