The number 5887 (five thousand eight hundred eighty-seven) is written in Roman numerals as follows: VDCCCLXXXVII