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: 19, 19, ['L', '2709', '7087', '8317', 'o', '8431', 'm', 'e', 'M', 'q', '2621', '3615', '2813', '9185', '4869', 'p', '3575', '1483', 'U', 'z', '7677']

U