The number 10987 (ten thousand nine hundred eighty-seven) is written in Roman numerals as follows: XCMLXXXVII