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: 2, 22, ['5801', '9205', '5261', '8543', 'u', 'p', 'j', 'E', '2239', '5833', '2989', '7001', '7821', '5809', '7025', '1359', '4505', 'J', 'g', '1481', '3311', '9479', 'n', '4679', '1925', 'e']

920552618543upjE223958332989700178215809702513594505Jg148133119479