The number 39704 (thirty-nine thousand seven hundred four) is written in Roman numerals as follows: XXXIXDCCIV