The number 20977 (twenty thousand nine hundred seventy-seven) is written in Roman numerals as follows: XXCMLXXVII