The number 51187 (fifty-one thousand one hundred eighty-seven) is written in Roman numerals as follows: LICLXXXVII