The number 18221 (eighteen thousand two hundred twenty-one) is written in Roman numerals as follows: XVIIICCXXI