The number 23987 (twenty-three thousand nine hundred eighty-seven) is written in Roman numerals as follows: XXIIICMLXXXVII