The number 12797 (twelve thousand seven hundred ninety-seven) is written in Roman numerals as follows: XIIDCCXCVII