The number 87171 (eighty-seven thousand one hundred seventy-one) is written in Roman numerals as follows: LXXXVIICLXXI