The number 304871 (three hundred four thousand eight hundred seventy-one) is written in Roman numerals as follows: CCCIVDCCCLXXI