The number 312704 (three hundred twelve thousand seven hundred four) is written in Roman numerals as follows: CCCXIIDCCIV