The number 20277 (twenty thousand two hundred seventy-seven) is written in Roman numerals as follows: XXCCLXXVII