The number 31401 (thirty-one thousand four hundred one) is written in Roman numerals as follows: XXXICDI