The number 16840 (sixteen thousand eight hundred forty) is written in Roman numerals as follows: XVIDCCCXL