TASK DEFINITION: In this task, you are given inputs i,j, and A, where i and j are integers and A is a list. You need to concatenate all elements of A from the ith element to the jth element, and print the resultant 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.
PROBLEM: 1, 2, ['T', 'r']

SOLUTION: Tr

PROBLEM: 1, 2, ['2919', 'E', '7517', '6149', '8495', '2167', 'P']

SOLUTION: 2919E

PROBLEM: 12, 19, ['p', 'R', '4353', 't', 'G', '6443', '27', '3417', '8771', 'P', '999', '5959', 'w', '4397', 'H', 'l', '2205', '2221', '8391', '973', 'c', '465', 'q', '4307', 'W', '2091', 'A', 'Z']

SOLUTION:
5959w4397Hl220522218391