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: 17, 22, ['o', '8091', '8067', '5359', '1549', 't', 's', 'e', '2329', 'd', '7549', 'i', 'n', 'F', '1653', 'Y', 'i', '331', 'x', '8541', 'y', 'n', 'J', '2527', '5001', '3853']

i331x8541yn