The number 5271 (five thousand two hundred seventy-one) is written in Roman numerals as follows: VCCLXXI