The number 987164 (nine hundred eighty-seven thousand one hundred sixty-four) is written in Roman numerals as follows: CMLXXXVIICLXIV