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.
18, 21, ['T', '7223', '1291', 'c', '6335', '1677', '1351', 'G', '4537', 'L', '3823', 'e', '4055', 'E', 'W', '7469', '8149', '5183', '579', 'S', 'j', 'h', '1777', '7213', 'K', '3733', '6461', 'v', 'J', '2245']