The number 17977 (seventeen thousand nine hundred seventy-seven) is written in Roman numerals as follows: XVIICMLXXVII