The number 24039 (twenty-four thousand thirty-nine) is written in Roman numerals as follows: XXIVXXXIX