The number 30331 (thirty thousand three hundred thirty-one) is written in Roman numerals as follows: XXXCCCXXXI