The number 21347 (twenty-one thousand three hundred forty-seven) is written in Roman numerals as follows: XXICCCXLVII