The number 39745 (thirty-nine thousand seven hundred forty-five) is written in Roman numerals as follows: XXXIXDCCXLV