The number 187997 (one hundred eighty-seven thousand nine hundred ninety-seven) is written in Roman numerals as follows: CLXXXVIICMXCVII