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: 9, 19, ['P', 'Z', '7153', '451', '789', '9843', 'a', '9705', 'u', 'y', '3521', 'U', 'w', '767', 'h', '9977', 'd', '6157', 'm', '7303', '1401', 's', 'd', '4035']

u, y, 3521, U, w, 767, h, 9977, d, 6157, m