The number 34971 (thirty-four thousand nine hundred seventy-one) is written in Roman numerals as follows: XXXIVCMLXXI