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: 4, 19, ['i', 'E', 'X', 'B', '2201', 'V', '4605', 'h', '7289', '2513', '8199', 'W', 'f', 'U', '1205', 'H', '7999', 't', '273', '4779', '9869', 'u', '5823', '2695', '7581']

B, 2201, V, 4605, h, 7289, 2513, 8199, W, f, U, 1205, H, 7999, t, 273