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: 5, 20, ['2851', 'b', '2281', 'x', 'p', 'V', '2403', '8527', '1891', 'p', 'x', 'c', '4819', 'o', '1849', '2111', 'a', '8403', 'x', '6153', '6539', '6411', 'Q', '1743', '7437', '5889', '8455', '853', 'Q']

p, V, 2403, 8527, 1891, p, x, c, 4819, o, 1849, 2111, a, 8403, x, 6153