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, 11, ['Q', 'c', '3477', 'j', '3327', 'd', 'f', 'f', '6319', 'G', '4477', 'p', '1955', '4971', 'Q', 's', '5801', '1253', 'n', 'v', '6331', 'f', '4635', '5295']

j, 3327, d, f, f, 6319, G, 4477