The number 40535 (forty thousand five hundred thirty-five) is written in Roman numerals as follows: XLDXXXV