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