The number 50821 (fifty thousand eight hundred twenty-one) is written in Roman numerals as follows: LDCCCXXI