The number 36787 (thirty-six thousand seven hundred eighty-seven) is written in Roman numerals as follows: XXXVIDCCLXXXVII