The number 34172 (thirty-four thousand one hundred seventy-two) is written in Roman numerals as follows: XXXIVCLXXII