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: 19, 26, ['B', '4339', 'U', 'j', '833', 's', 'H', 'M', 'k', 'j', '4803', '195', '6095', 'U', 'I', '1075', 'h', '2075', 'd', '5241', '2917', '2647', '3595', 'm', 'M', 'F', '6263', '1043', 'k']

d, 5241, 2917, 2647, 3595, m, M, F