The number 8987 (eight thousand nine hundred eighty-seven) is written in Roman numerals as follows: VIIICMLXXXVII