The number 5277 (five thousand two hundred seventy-seven) is written in Roman numerals as follows: VCCLXXVII