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: 20, 21, ['L', 'j', '5793', '9219', 'R', 'Y', '3783', '7573', '2465', '3385', '2673', '1669', '8479', 'j', '559', 'p', '3985', '4065', 'X', '9127', '467', '6413', 'H', 'F', 'Z', '471', 'l', '6317']

9127467