The number 12497 (twelve thousand four hundred ninety-seven) is written in Roman numerals as follows: XIICDXCVII