The number 20771 (twenty thousand seven hundred seventy-one) is written in Roman numerals as follows: XXDCCLXXI