The number 40249 (forty thousand two hundred forty-nine) is written in Roman numerals as follows: XLCCXLIX