The number 20791 (twenty thousand seven hundred ninety-one) is written in Roman numerals as follows: XXDCCXCI