The number 39271 (thirty-nine thousand two hundred seventy-one) is written in Roman numerals as follows: XXXIXCCLXXI