The number 30971 (thirty thousand nine hundred seventy-one) is written in Roman numerals as follows: XXXCMLXXI