The number 1987 (one thousand nine hundred eighty-seven) is written in Roman numerals as follows: MCMLXXXVII