The number 987331 (nine hundred eighty-seven thousand three hundred thirty-one) is written in Roman numerals as follows: CMLXXXVIICCCXXXI