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: 9, 9, ['x', '1937', '7591', 'b', '6099', '8585', '9263', '7231', '1503', 'S', 'B', '2431', '5095', 'K', 'O', '5103', '9341', 'F', '3765']

1503