The number 16777 (sixteen thousand seven hundred seventy-seven) is written in Roman numerals as follows: XVIDCCLXXVII