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, 6, ['4829', '4115', 'R', 'e', '7367', '4231', '5179', 'P', 'X', '1705', 'b', 'P', 'b', 'E', '717', '5443', '8007', '6645', 'S', '8221', '4771']

e, 7367, 4231