The number 36504 (thirty-six thousand five hundred four) is written in Roman numerals as follows: XXXVIDIV