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