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, 10, ['9311', 'J', '8717', '5727', '969', 'f', '9011', 'd', 'J', 'X', '4323', '3213', 'c', 'a', '2595', 't', 'D', '7385', '7069', 'i', '2705', 'u', '4149', '4177', 'P', '3047', 'H']
J, X

1, 2, ['P', '3447', '3829']
P, 3447

2, 6, ['j', 'd', '1827', '8963', 'R', '5839', 'M', 'u']

d, 1827, 8963, R, 5839