The number 17989 (seventeen thousand nine hundred eighty-nine) is written in Roman numerals as follows: XVIICMLXXXIX