The number 21712 (twenty-one thousand seven hundred twelve) is written in Roman numerals as follows: XXIDCCXII