The number 987397 (nine hundred eighty-seven thousand three hundred ninety-seven) is written in Roman numerals as follows: CMLXXXVIICCCXCVII