The number 331271 (three hundred thirty-one thousand two hundred seventy-one) is written in Roman numerals as follows: CCCXXXICCLXXI