The number 40259 (forty thousand two hundred fifty-nine) is written in Roman numerals as follows: XLCCLIX