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: 22, 29, ['T', '59', 'I', '1221', '55', 'D', '9027', 'J', 'T', '1825', 'E', 'b', '663', 'N', '7105', '6821', 'D', '367', 'v', 'Y', 'l', '423', '9323', '3367', '9547', 'R', '2855', '4909', '7513', 'r']

423, 9323, 3367, 9547, R, 2855, 4909, 7513