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: 22, 28, ['6089', 'j', 'O', '2679', 'y', 'P', '8073', '553', '9685', 'T', '8983', '6947', 'U', 'x', '7683', '7689', '9277', '8315', 'l', '3839', 'B', 'L', '2975', '9879', '3049', '4887', '8099', '3441']

L, 2975, 9879, 3049, 4887, 8099, 3441