The number 51887 (fifty-one thousand eight hundred eighty-seven) is written in Roman numerals as follows: LIDCCCLXXXVII