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, 22, ['761', 'm', '1161', '1547', 'J', 'm', 'e', 'H', '5237', 'x', '3639', 'M', '221', '6565', 'K', '8343', '9101', '1655', 'u', '9541', '461', 'R', '9663', 'r', '3655', 'Z', '905', 'y', 'J', '5455']

u, 9541, 461, R