The number 21027 (twenty-one thousand twenty-seven) is written in Roman numerals as follows: XXIXXVII