The number 36540 (thirty-six thousand five hundred forty) is written in Roman numerals as follows: XXXVIDXL