The number 187887 (one hundred eighty-seven thousand eight hundred eighty-seven) is written in Roman numerals as follows: CLXXXVIIDCCCLXXXVII