The number 316871 (three hundred sixteen thousand eight hundred seventy-one) is written in Roman numerals as follows: CCCXVIDCCCLXXI