The number 39938 (thirty-nine thousand nine hundred thirty-eight) is written in Roman numerals as follows: XXXIXCMXXXVIII