The number 21729 (twenty-one thousand seven hundred twenty-nine) is written in Roman numerals as follows: XXIDCCXXIX