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