The number 12821 (twelve thousand eight hundred twenty-one) is written in Roman numerals as follows: XIIDCCCXXI