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: 5, 6, ['O', 'F', 'x', '7959', '5027', '4231', 'z', '2977', 'N']

SOLUTION: 5027, 4231

PROBLEM: 2, 2, ['U', '6443']

SOLUTION: 6443

PROBLEM: 7, 8, ['t', 'W', '4425', 'J', '2967', 'V', 'r', '7829', 'H', '5189', 'O', 'A', '275', 'f', '1695', '8997', 'T', '6805', 'S', 'a', 'u', '4497', 'z']

SOLUTION:
r, 7829