The number 20945 (twenty thousand nine hundred forty-five) is written in Roman numerals as follows: XXCMXLV