The number 30271 (thirty thousand two hundred seventy-one) is written in Roman numerals as follows: XXXCCLXXI