The number 31800 (thirty-one thousand eight hundred) is written in Roman numerals as follows: XXXIDCCC