The number 31440 (thirty-one thousand four hundred forty) is written in Roman numerals as follows: XXXICDXL