The number 10187 (ten thousand one hundred eighty-seven) is written in Roman numerals as follows: XCLXXXVII