The number 16987 (sixteen thousand nine hundred eighty-seven) is written in Roman numerals as follows: XVICMLXXXVII