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: 1, 5, ['d', 'p', 'B', 'i', '5865', '4569']

Output: 5685iBpd


Input: Consider Input: 14, 17, ['J', '8303', 'I', 'O', 'Y', 'U', '9225', '5315', '8891', '5195', '5805', '8577', 'n', '3621', 'k', '4049', 'k', 'y', '9591', '3465', '9829']

Output: k9404k1263


Input: Consider Input: 2, 4, ['301', '5877', 'm', 'O', '7591', '7221', '1467', '6039', '475', '9547', 'C']


Output: Om7785