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.

Q: 5, 6, ['O', 'F', 'x', '7959', '5027', '4231', 'z', '2977', 'N']

A: 5027, 4231
****
Q: 5, 9, ['6627', '6047', '8429', '4365', 'm', '6827', 'g', 'w', 'x', '4035', 'z']

A: m, 6827, g, w, x
****
Q: 9, 10, ['s', '8143', 'h', 'J', '9529', 'K', 'a', '7027', '3199', '6283', 'K', '7751', 'E', 'x', 'Y', 'Z', '7459', 'h']

A:
3199, 6283
****