The number 940021 (nine hundred forty thousand twenty-one) is written in Roman numerals as follows: CMXLXXI