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, 30, ['5073', '1387', 'Z', '8793', 'G', '2291', 'w', '2995', 'q', 's', '6893', 'c', 'S', '5819', 'G', 'A', 'i', 'p', 'J', 'T', '5623', 'o', '7433', 'x', 'e', 'L', 'S', 'b', 'v', 'j']

G, 2291, w, 2995, q, s, 6893, c, S, 5819, G, A, i, p, J, T, 5623, o, 7433, x, e, L, S, b, v, j