The number 20477 (twenty thousand four hundred seventy-seven) is written in Roman numerals as follows: XXCDLXXVII