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: 2, 22, ['H', '4649', '2511', '2587', '6631', 'A', 'a', 'v', 'O', '4693', '4793', '3129', 'M', 'C', 'v', '539', 'h', 'j', 'B', '3413', '8869', '8777', '1631', 'I', '4313', 'O', '6567', '2197']

4649, 2511, 2587, 6631, A, a, v, O, 4693, 4793, 3129, M, C, v, 539, h, j, B, 3413, 8869, 8777