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.

2, 2, ['8743', '7959', '6353', '1977']
7959

16, 17, ['3353', '607', '59', 'E', 'T', '4945', '3895', 'J', '7199', '8835', 'J', 'N', 'h', 'e', 's', 'd', 'G', '2647', 'f', '163', 'F', 'T', '375', '3665', 'A', 'a', 'v', 'i']
d, G

5, 6, ['B', '8347', '19', '811', '2127', '5421', 'Q', '7737', '2515', 'E', 'w', '4597', 'h', '3561', '2083', '8251', '6909', 'm', '4167', 'g', 'U', 'a', 'G', '7573', '4045']

2127, 5421