The number 897871 (eight hundred ninety-seven thousand eight hundred seventy-one) is written in Roman numerals as follows: DCCCXCVIIDCCCLXXI