The number 12771 (twelve thousand seven hundred seventy-one) is written in Roman numerals as follows: XIIDCCLXXI