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