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, 15, ['E', '3169', 'i', 'i', 'a', 'B', 'w', '1847', 'P', '3261', '9951', 'n', 'T', 'S', 'N', 'z', 'r', 'y', '7279', '6299', 'D', '4279', '3179', '6991', 'v', '5821']

n, T, S, N