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: 22, 22, ['6179', '1601', '4427', '2215', '5985', '4781', 'c', '4177', '6839', 'U', '4865', 'c', 'x', '6103', '2007', '4121', 'j', '1453', 'i', '2765', 'H', '3509', 's', '875', '1341', '2931', '257']
A:
3509