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: 20, 28, ['x', 'C', 'w', 'Q', 'Q', '3155', 'l', '7683', 'u', '1733', '8687', 'C', 'I', '4131', '9013', '5987', 'i', 'p', '8367', '793', 'E', 'a', '1891', '8933', 'a', 'h', 'M', 'h', '7303', 'x']

793, E, a, 1891, 8933, a, h, M, h