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.

9, 12, ['1301', 'b', 'J', '3259', '8815', '9013', 'K', '5583', 'h', '3873', '7247', '2825', '639', 'b', '3343']
h, 3873, 7247, 2825

2, 4, ['y', 'o', 'O', '7149', 'O', 'n', '7641', '3963']
o, O, 7149

1, 1, ['X', 'B']

X