The number 16791 (sixteen thousand seven hundred ninety-one) is written in Roman numerals as follows: XVIDCCXCI