The number 30165 (thirty thousand one hundred sixty-five) is written in Roman numerals as follows: XXXCLXV