The number 50587 (fifty thousand five hundred eighty-seven) is written in Roman numerals as follows: LDLXXXVII