The number 45271 (forty-five thousand two hundred seventy-one) is written in Roman numerals as follows: XLVCCLXXI