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: 16, 26, ['O', '6395', '7197', 'B', 'h', '9659', '4193', 'q', 'f', 'F', '5235', 'q', '8641', 'J', 'C', '9955', 'Q', '5279', 'b', 'b', '2829', '1961', 'z', 'D', '7019', '6981', 'G', 'C']

9955, Q, 5279, b, b, 2829, 1961, z, D, 7019, 6981