The number 38021 (thirty-eight thousand twenty-one) is written in Roman numerals as follows: XXXVIIIXXI