Definition: In this task, you are given inputs i,j, and A, where i and j are integers and A is a list. You need to concatenate all elements of A from the ith element to the jth element, and print the resultant string. i and j will be non-negative, and will always have a value less than the length of A. i will always be less than j.
Input: 10, 22, ['E', '5249', '7217', '5737', 'W', '6357', '4095', 'R', '1275', 's', 't', 'q', '5217', '6081', 'K', 'M', '5387', 'f', 'h', '5077', '5101', 'R', 'i', 'W', 'e', 'U', '8815', 'j', 'i']

stq52176081KM5387fh50775101R