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: 21, 22, ['9007', '757', 'h', '8949', '7043', 'S', '45', '1009', '6547', 's', 'w', 't', 'Y', 'Q', '3361', '773', 's', '2209', '7121', '1693', 'W', 'g', '9321', '1217', 'u']

W, g