The number 18587 (eighteen thousand five hundred eighty-seven) is written in Roman numerals as follows: XVIIIDLXXXVII