The number 21687 (twenty-one thousand six hundred eighty-seven) is written in Roman numerals as follows: XXIDCLXXXVII