The number 12331 (twelve thousand three hundred thirty-one) is written in Roman numerals as follows: XIICCCXXXI