The number 21997 (twenty-one thousand nine hundred ninety-seven) is written in Roman numerals as follows: XXICMXCVII