The number 2877 (two thousand eight hundred seventy-seven) is written in Roman numerals as follows: MMDCCCLXXVII