The number 17945 (seventeen thousand nine hundred forty-five) is written in Roman numerals as follows: XVIICMXLV