The number 296871 (two hundred ninety-six thousand eight hundred seventy-one) is written in Roman numerals as follows: CCXCVIDCCCLXXI