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, 18, ['n', '7669', '3861', '1053', 'n', 'S', '5567', '6489', 'p', '5199', 'o', 'n', 'e', '9885', 'b', '8827', '4247', '3689', '7517', '5523', 'C', '2111', 'J', '9293', '2261', '3735', 't', '7077', 'u', 's']

n, e, 9885, b, 8827, 4247, 3689