The number 5847 (five thousand eight hundred forty-seven) is written in Roman numerals as follows: VDCCCXLVII