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: 20, 26, ['2961', 'J', '3969', '3193', 'p', 'f', 'a', 'c', '741', 'X', '3255', '4199', '1699', '2503', 'P', 'l', 'K', '2903', '6381', '9775', '2205', 'Z', 's', 'w', 'Q', 'r', 'm', 'J', 'Z']

9775, 2205, Z, s, w, Q, r