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, ['C', 'B', 'u', 'B', '3119', '2779', 'J', '7811', '2697', 'h', 'Y', '6595', 'B', 'x', 'c', 'A', '6859', '1959', 'l', '2539', 'o', '8797', '3787', '7077', '9763', 'A', '6415']

B, 3119, 2779, J, 7811, 2697, h, Y, 6595, B, x, c, A, 6859, 1959, l