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, 24, ['A', '9955', 'n', 'I', '3737', '5771', 'k', 'I', 'K', 'E', '2079', '1153', 'm', '1641', '9461', '7439', '4543', '485', '601', 'm', '3417', 'S', '2625', '6765', 'B', '7941', 'U', '1437', 'K']

S, 2625, 6765