The number 30771 (thirty thousand seven hundred seventy-one) is written in Roman numerals as follows: XXXDCCLXXI