The number 39331 (thirty-nine thousand three hundred thirty-one) is written in Roman numerals as follows: XXXIXCCCXXXI