The number 39165 (thirty-nine thousand one hundred sixty-five) is written in Roman numerals as follows: XXXIXCLXV