The number 997171 (nine hundred ninety-seven thousand one hundred seventy-one) is written in Roman numerals as follows: CMXCVIICLXXI