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.

Q: 4, 7, ['h', '1133', 'n', 'Y', 'X', 'z', 'l']

A: YXzl
****
Q: 6, 9, ['g', '7481', '6717', '2863', '79', '5841', 'o', 'K', '4697', 'l', 'c', 'G', 'G']

A: 5841oK4697
****
Q: 7, 15, ['5703', 'y', 'f', 'd', 'E', '3675', '3527', '6219', 't', '385', 'd', 'J', 'Y', 'B', '831', '4623', 'E', 'w', '7441', '4717']

A:
35276219t385dJYB831
****