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 list all elements of A from the ith element to the jth element. 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.
Input: 11, 12, ['R', '9661', 'q', 'r', '9533', '9333', 'B', 'O', '1059', 'b', 'G', '517', 'w', 'D', 'x', '8361', '7897', 'e', 'n', '5579', 'E', '4061', 'X', '9541', '5945']

G, 517