The number 30945 (thirty thousand nine hundred forty-five) is written in Roman numerals as follows: XXXCMXLV