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: 4, 10, ['r', '1043', 'k', 'K', '6553', '2765', '4667', 'T', '5233', 'S', '4159', '8673', 'q', '9857', '3639', 'R', '5043', '8529', 'J', 'T', 'q', 'o', '1407', '2823', 'o', 'w', 'y']

K, 6553, 2765, 4667, T, 5233, S