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: 1, 22, ['F', 's', '9149', '1623', '1583', 'i', '849', 'D', 'T', 'e', '2247', '8371', '5613', '4591', 'G', '7113', 'p', '975', '5023', 'R', 'm', 'E', '7231', '9101', '2911', '5869', 'T']

Fs914916231583i849DTe2247837156134591G7113p9755023RmE