The number 19987 (nineteen thousand nine hundred eighty-seven) is written in Roman numerals as follows: XIXCMLXXXVII