The number 31674 (thirty-one thousand six hundred seventy-four) is written in Roman numerals as follows: XXXIDCLXXIV