The number 22771 (twenty-two thousand seven hundred seventy-one) is written in Roman numerals as follows: XXIIDCCLXXI