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