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: 12, 19, ['p', 'R', '4353', 't', 'G', '6443', '27', '3417', '8771', 'P', '999', '5959', 'w', '4397', 'H', 'l', '2205', '2221', '8391', '973', 'c', '465', 'q', '4307', 'W', '2091', 'A', 'Z']

5959w4397Hl220522218391