The number 36587 (thirty-six thousand five hundred eighty-seven) is written in Roman numerals as follows: XXXVIDLXXXVII