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:
4, 12, ['H', 'r', 'n', 'Y', '173', '9285', '3105', '883', 'n', '8915', '6923', 'S', 'T', 'o', '1639', '8421', 'g']

Ex Output:
S32965198n38850135829371Y


Ex Input:
1, 1, ['341', '939']

Ex Output:
143


Ex Input:
3, 7, ['5397', 'K', '1829', '6401', 'E', '6425', 'U', '2601', 'r', '5029', '4969', '3267', '775', 't', '5217', '5903', 'X', 'S', '2597', '821', '849', '971', 'B', 'o', 'C', 'K']

Ex Output:

U5246E10469281