The number 12823 (twelve thousand eight hundred twenty-three) is written in Roman numerals as follows: XIIDCCCXXIII