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.

Input: Consider Input: 4, 7, ['1247', 's', 'J', 'w', 'X', '7211', 'c']

Output: c1127Xw


Input: Consider Input: 9, 21, ['D', 'j', 'T', '91', 'W', '9709', 'H', '1023', '4595', '1241', '917', '383', '7739', 'G', 'I', 'b', '8401', '7941', 'j', '2713', 'K', '2443', 'E', 'B', '1515', '5141', '1221', '993']

Output: K3172j14971048bIG937738371914215954


Input: Consider Input: 4, 6, ['9125', '7715', '1007', '7247', '1023', 'N', '665', '1461', 'P']


Output: N32017427