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: 12, 23, ['P', 'G', '9581', '9887', 'h', '3099', 'I', '4087', 'U', 'y', '4151', 'x', '3325', '7177', '4557', 'N', '3209', 'H', 'o', '9099', '5851', 'g', 'r', 'O', '3357']

x, 3325, 7177, 4557, N, 3209, H, o, 9099, 5851, g, r