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:
2, 2, ['9085', '5983', '3197', 'C']

Ex Output:
3895


Ex Input:
4, 20, ['p', '1643', 'O', '5867', 'Y', 'j', '2411', 'Z', '2563', '4757', 'B', 'b', '7489', '815', 'c', '6631', '8571', '6537', 'm', 'T']

Ex Output:
Tm735617581366c5189847bB75743652Z1142jY7685


Ex Input:
3, 6, ['p', 'g', '6321', '4727', '2151', '7741', '4665', 'e', '2449', '6937', 'S']

Ex Output:

1477151272741236