The number 316171 (three hundred sixteen thousand one hundred seventy-one) is written in Roman numerals as follows: CCCXVICLXXI