The number 987165 (nine hundred eighty-seven thousand one hundred sixty-five) is written in Roman numerals as follows: CMLXXXVIICLXV