The number 4777 (four thousand seven hundred seventy-seven) is written in Roman numerals as follows: IVDCCLXXVII