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