The number 1277 (one thousand two hundred seventy-seven) is written in Roman numerals as follows: MCCLXXVII