The number 9771 (nine thousand seven hundred seventy-one) is written in Roman numerals as follows: IXDCCLXXI