The number 39985 (thirty-nine thousand nine hundred eighty-five) is written in Roman numerals as follows: XXXIXCMLXXXV