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: 7, 21, ['4693', '9985', '1145', '8497', 'G', '4053', 'r', '9977', '2507', 'Q', '1341', '3941', '1937', 'e', 'U', 'I', 'H', 'C', 'i', 'z', 's', 'l', '5639', '2447', 'L', '4349', '2327', 'o', 's', '4657']

r, 9977, 2507, Q, 1341, 3941, 1937, e, U, I, H, C, i, z, s