The number 39172 (thirty-nine thousand one hundred seventy-two) is written in Roman numerals as follows: XXXIXCLXXII