The number 79987 (seventy-nine thousand nine hundred eighty-seven) is written in Roman numerals as follows: LXXIXCMLXXXVII