The number 12718 (twelve thousand seven hundred eighteen) is written in Roman numerals as follows: XIIDCCXVIII