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.

6, 7, ['5171', '4775', 'A', 'j', 'P', 'O', 'l', 'y', 'h', '837', '2297', 'g', '9863', '8529']
O, l

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

9, 14, ['o', 'p', '189', 'e', 'H', 'V', '5699', '7077', 'K', '1359', 'X', '2243', '1157', '3751', '145', 'I', '9855', '2361', 'r', 'Z', '3451', '8355', 't', 'y', 'i', '6845', '211', 'v']

K, 1359, X, 2243, 1157, 3751