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, ['w', '9819', '3553', '581', 'I', '9861', 'X', '361', 'n', 'S', '4997', 'J', '5381', '5039', '9851', 'Q', '9785', 'r', 'H', 'C', 'y', 'Y', 'G', 'y', '1653', '4563', 'X']

C, y, Y, G, y, 1653, 4563