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: 7, 10, ['Q', '6965', '8413', 'x', 's', 'q', '7881', 'g', '6001', '4457', '8287', '7767', '1035', 'e', '9693', 'm', 'e', '6883', 'p', '9515', 'A', 'H']

7881, g, 6001, 4457