In this task, you are given inputs 'i', 'j', and A, where 'i' and 'j' are integers and A is a list. A list is shown by two brackets and comma-separated numbers and characters inside, like ['1', '12', 'l']. You need to concatenate all elements of A from the ith element to the jth element, and then reverse the resulting 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'. Perform the operations in order, i.e., do not reverse first and then concatenate.

Ex Input:
18, 18, ['O', '7845', 'f', '2313', 'f', '9661', 's', 'O', '6009', '6997', 'f', 'T', 'f', '6517', 'E', 'H', 'k', 'Y', 'i', '2839', '1839', '3251', 'H', '1939']

Ex Output:
Y


Ex Input:
1, 3, ['r', '5153', 'I']

Ex Output:
I3515r


Ex Input:
3, 4, ['Y', 'o', '4789', 's', 's', '2541', 'A']

Ex Output:

s9874