The number 8840 (eight thousand eight hundred forty) is written in Roman numerals as follows: VIIIDCCCXL