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: 15, 24, ['f', '4495', 'p', 'N', '5667', 'O', '6619', 'q', 'm', 't', '3451', '1831', 'Q', 'v', 'b', '2175', 'y', '1607', '3889', 'J', 'P', 'h', '9267', '7173']

b, 2175, y, 1607, 3889, J, P, h, 9267, 7173