TASK 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.
PROBLEM: 7, 8, ['Y', '901', 'P', '6251', 'T', 'l', 'h', '7915']

SOLUTION: h, 7915

PROBLEM: 10, 12, ['q', 'v', 'q', '1657', 'r', '6199', '6337', 'Z', 'n', 'e', '4901', '4961', 'g', 'b']

SOLUTION: e, 4901, 4961

PROBLEM: 1, 5, ['8363', 'Y', '4537', '1909', 'I', '7921', 'Q']

SOLUTION:
8363, Y, 4537, 1909, I