The number 8791 (eight thousand seven hundred ninety-one) is written in Roman numerals as follows: VIIIDCCXCI