The number 10791 (ten thousand seven hundred ninety-one) is written in Roman numerals as follows: XDCCXCI