The number 34791 (thirty-four thousand seven hundred ninety-one) is written in Roman numerals as follows: XXXIVDCCXCI