The number 12777 (twelve thousand seven hundred seventy-seven) is written in Roman numerals as follows: XIIDCCLXXVII