The number 27877 (twenty-seven thousand eight hundred seventy-seven) is written in Roman numerals as follows: XXVIIDCCCLXXVII