The number 18827 (eighteen thousand eight hundred twenty-seven) is written in Roman numerals as follows: XVIIIDCCCXXVII