The number 21867 (twenty-one thousand eight hundred sixty-seven) is written in Roman numerals as follows: XXIDCCCLXVII