The number 39164 (thirty-nine thousand one hundred sixty-four) is written in Roman numerals as follows: XXXIXCLXIV