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, 18, ['5685', 'e', '6543', 'W', 'v', '3209', '2685', 'B', '1367', 'B', 'c', 'k', 'R', '3097', '3293', '2879', '2417', 'K', 'c', 'q', '7009']

2685, B, 1367, B, c, k, R, 3097, 3293, 2879, 2417, K