The number 20971 (twenty thousand nine hundred seventy-one) is written in Roman numerals as follows: XXCMLXXI