The number 16827 (sixteen thousand eight hundred twenty-seven) is written in Roman numerals as follows: XVIDCCCXXVII