The number 12864 (twelve thousand eight hundred sixty-four) is written in Roman numerals as follows: XIIDCCCLXIV