The number 31471 (thirty-one thousand four hundred seventy-one) is written in Roman numerals as follows: XXXICDLXXI