The number 12989 (twelve thousand nine hundred eighty-nine) is written in Roman numerals as follows: XIICMLXXXIX