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