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, ['X', 'F', 'S', 'y', 'H', '539', 'B', '281', '325', 'W', '5233', '2299', '1527', '3075', '5957', '489', '7619', 'f', 'O', '8843', 'u', 'K', 'B', 'R', '8741', 'k', '3795', '5423', 'W', '1503']

2299, 1527, 3075, 5957, 489, 7619, f, O, 8843, u, K, B