The number 10165 (ten thousand one hundred sixty-five) is written in Roman numerals as follows: XCLXV