The number 21331 (twenty-one thousand three hundred thirty-one) is written in Roman numerals as follows: XXICCCXXXI