The number 25987 (twenty-five thousand nine hundred eighty-seven) is written in Roman numerals as follows: XXVCMLXXXVII