The number 51271 (fifty-one thousand two hundred seventy-one) is written in Roman numerals as follows: LICCLXXI