The number 51221 (fifty-one thousand two hundred twenty-one) is written in Roman numerals as follows: LICCXXI