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: 3, 25, ['1511', 'U', 'J', 'n', '5807', 'W', 'c', 'X', 'S', 'p', '733', '2901', '3999', '4811', '1129', '9193', 'b', '3089', '2819', 'S', '2957', '7237', 'S', '5643', '8145', '1239', 'o', '4939', 'P']

J, n, 5807, W, c, X, S, p, 733, 2901, 3999, 4811, 1129, 9193, b, 3089, 2819, S, 2957, 7237, S, 5643, 8145