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, 22, ['6967', '385', '6409', 'r', 'i', '7375', 'd', 'i', 'I', 'R', '5839', 'B', 'Q', '8311', '9187', '5721', '9079', '3513', 'E', '783', 'p', '9561', '8817', 'f', '5243']

5839, B, Q, 8311, 9187, 5721, 9079, 3513, E, 783, p, 9561