The number 36791 (thirty-six thousand seven hundred ninety-one) is written in Roman numerals as follows: XXXVIDCCXCI