The number 40524 (forty thousand five hundred twenty-four) is written in Roman numerals as follows: XLDXXIV