The number 31477 (thirty-one thousand four hundred seventy-seven) is written in Roman numerals as follows: XXXICDLXXVII