The number 104877 (one hundred four thousand eight hundred seventy-seven) is written in Roman numerals as follows: CIVDCCCLXXVII