The number 940371 (nine hundred forty thousand three hundred seventy-one) is written in Roman numerals as follows: CMXLCCCLXXI