The number 18791 (eighteen thousand seven hundred ninety-one) is written in Roman numerals as follows: XVIIIDCCXCI