The number 49887 (forty-nine thousand eight hundred eighty-seven) is written in Roman numerals as follows: XLIXDCCCLXXXVII