The number 331171 (three hundred thirty-one thousand one hundred seventy-one) is written in Roman numerals as follows: CCCXXXICLXXI