The number 240021 (two hundred forty thousand twenty-one) is written in Roman numerals as follows: CCXLXXI