The number 5247 (five thousand two hundred forty-seven) is written in Roman numerals as follows: VCCXLVII