The number 30172 (thirty thousand one hundred seventy-two) is written in Roman numerals as follows: XXXCLXXII