The number 21340 (twenty-one thousand three hundred forty) is written in Roman numerals as follows: XXICCCXL