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, ['3765', '3147', 'p', '6009', 'F', 'c', '1221', 't', '5109', '2229', '453', '1575', 'm', '4913', '5721', 'A', 'p', 'M', '3569', 'H', 'j', '3955']

6009, F, c