The number 31890 (thirty-one thousand eight hundred ninety) is written in Roman numerals as follows: XXXIDCCCXC