The number 12971 (twelve thousand nine hundred seventy-one) is written in Roman numerals as follows: XIICMLXXI