The number 38221 (thirty-eight thousand two hundred twenty-one) is written in Roman numerals as follows: XXXVIIICCXXI