The number 4277 (four thousand two hundred seventy-seven) is written in Roman numerals as follows: IVCCLXXVII