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, ['p', '6073', 'j', 'I', '4359', '7325', '2193', '1705', '1773', '8291', 'P', '1503', 'i', '9859', '5815', '5403', '3361', '2743', '4047', 'k', 'u', 'o']

2193, 1705, 1773, 8291, P, 1503, i, 9859, 5815, 5403, 3361, 2743