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.
--------
Question: 3, 10, ['g', '5155', 'p', '6627', 'W', 'q', '2851', 'm', 's', '7781', 'u', '9739']

Answer: 1877sm1582qW7266p


Question: 4, 6, ['w', '8785', '2921', 'J', 'P', 'g', '9273', '5439', 'O', 'F', 'u', '967', '9007']

Answer: gPJ


Question: 10, 12, ['T', '8265', 'w', '3199', '8977', 'W', '2613', 't', '5631', '221', 'T', 'M', 'q', '2995', '6107', 'A', 'J', '4361', '8231', 'W', 'x', '6891', 'u']

Answer:
MT122