The number 9827 (nine thousand eight hundred twenty-seven) is written in Roman numerals as follows: IXDCCCXXVII