The number 12727 (twelve thousand seven hundred twenty-seven) is written in Roman numerals as follows: XIIDCCXXVII