The number 5223 (five thousand two hundred twenty-three) is written in Roman numerals as follows: VCCXXIII