The number 31423 (thirty-one thousand four hundred twenty-three) is written in Roman numerals as follows: XXXICDXXIII