The number 5839 (five thousand eight hundred thirty-nine) is written in Roman numerals as follows: VDCCCXXXIX