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