The number 987112 (nine hundred eighty-seven thousand one hundred twelve) is written in Roman numerals as follows: CMLXXXVIICXII