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