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: 1, 2, ['S', '7763']

Answer: 3677S


Question: 16, 22, ['7741', 'A', 'M', 'N', '7967', '1049', '6971', '5547', '3263', 'x', '2675', '9757', '343', 'g', '8277', '3727', '5711', 'M', 'J', '6417', '1085', '3885', 'M']

Answer: 588358017146JM11757273


Question: 3, 3, ['2785', 'W', '4935']

Answer:
5394