The number 31702 (thirty-one thousand seven hundred two) is written in Roman numerals as follows: XXXIDCCII