The number 39718 (thirty-nine thousand seven hundred eighteen) is written in Roman numerals as follows: XXXIXDCCXVIII