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.

[EX Q]: 1, 1, ['g', 'J']
[EX A]: g

[EX Q]: 2, 2, ['8957', 'i', 'H']
[EX A]: i

[EX Q]: 20, 25, ['o', '8081', 'd', 'j', 'c', '5335', '6595', '517', 't', '9591', 'L', 'j', '4013', '1853', '6501', '5845', '2717', 'D', '3607', '8451', 'U', '4269', '1641', '4675', '1917', 'E', '5117']
[EX A]:
8451, U, 4269, 1641, 4675, 1917