The number 39904 (thirty-nine thousand nine hundred four) is written in Roman numerals as follows: XXXIXCMIV