The number 987172 (nine hundred eighty-seven thousand one hundred seventy-two) is written in Roman numerals as follows: CMLXXXVIICLXXII