The number 162871 (one hundred sixty-two thousand eight hundred seventy-one) is written in Roman numerals as follows: CLXIIDCCCLXXI