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: 5, 22, ['L', '5743', '2449', '8193', '5369', 'Q', 'S', 'O', '621', 'k', '823', '3757', 'n', '7181', 'g', 'i', 'Q', 'v', '2843', '7143', '3157', 'b', 'X', 'x']

5369QSO621k8233757n7181giQv284371433157b