The number 22987 (twenty-two thousand nine hundred eighty-seven) is written in Roman numerals as follows: XXIICMLXXXVII