The number 12827 (twelve thousand eight hundred twenty-seven) is written in Roman numerals as follows: XIIDCCCXXVII