The number 31497 (thirty-one thousand four hundred ninety-seven) is written in Roman numerals as follows: XXXICDXCVII