The number 139842 (one hundred thirty-nine thousand eight hundred forty-two) is written in Roman numerals as follows: CXXXIXDCCCXLII