The number 12947 (twelve thousand nine hundred forty-seven) is written in Roman numerals as follows: XIICMXLVII