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: 6, 18, ['2855', 'e', 'T', '2363', 't', '4285', 'K', 'X', '6097', 'C', '959', 'R', 'q', 'f', '8849', '9995', '4687', 'J', '4799', 'W', '4781', 'z', 'v', 'u', '3555', 'E', '8747']

4285, K, X, 6097, C, 959, R, q, f, 8849, 9995, 4687, J