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: 22, 27, ['w', '2527', 'N', '8763', '5813', '7129', '6341', 'B', '5459', 'l', '9657', 'n', 'C', '1923', 'Q', '2065', 'h', '7161', 'A', '7541', '67', 'L', '8307', 'n', 'n', 'j', 'X', '5507', '8233']

L8307nnjX