TASK DEFINITION: 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.
PROBLEM: 1, 1, ['p', 'A']

SOLUTION: p

PROBLEM: 2, 3, ['A', '6585', '1477', '9953', 'U', '3667', 'D', 'd', '5911', '469', 'F']

SOLUTION: 6585, 1477

PROBLEM: 2, 22, ['8709', '4591', 'x', 'J', 'j', '1355', 'r', 'v', 'W', 'Z', '5605', 'z', '2547', '2927', 'o', 'k', 'f', '7759', 'd', 'X', '6799', 'q', 'j', 'D', '8717', '7953', '4293', 'e', '1695', 'N']

SOLUTION:
4591, x, J, j, 1355, r, v, W, Z, 5605, z, 2547, 2927, o, k, f, 7759, d, X, 6799, q