The number 5843 (five thousand eight hundred forty-three) is written in Roman numerals as follows: VDCCCXLIII