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: 12, 19, ['6779', '3605', '3905', '6051', 'c', '1507', 's', '8793', '8689', 'u', '3461', '3315', '5135', 'k', '6691', 'k', 'a', 'R', '7087', '5921', 'W', '1307', 'Z', 'U', 'N', '6487', 'E']

3315, 5135, k, 6691, k, a, R, 7087