The number 31197 (thirty-one thousand one hundred ninety-seven) is written in Roman numerals as follows: XXXICXCVII