The number 39981 (thirty-nine thousand nine hundred eighty-one) is written in Roman numerals as follows: XXXIXCMLXXXI