The number 12839 (twelve thousand eight hundred thirty-nine) is written in Roman numerals as follows: XIIDCCCXXXIX