The number 12687 (twelve thousand six hundred eighty-seven) is written in Roman numerals as follows: XIIDCLXXXVII