The number 31707 (thirty-one thousand seven hundred seven) is written in Roman numerals as follows: XXXIDCCVII