The number 20187 (twenty thousand one hundred eighty-seven) is written in Roman numerals as follows: XXCLXXXVII