The number 12887 (twelve thousand eight hundred eighty-seven) is written in Roman numerals as follows: XIIDCCCLXXXVII