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: 9, 9, ['c', 'H', '2947', 'H', 'f', 'h', '4791', 'r', '8551', 'c', 'r', 'm', 'E', '343']

SOLUTION: 8551

PROBLEM: 5, 6, ['O', 'F', 'x', '7959', '5027', '4231', 'z', '2977', 'N']

SOLUTION: 5027, 4231

PROBLEM: 1, 2, ['K', '3763', '4441']

SOLUTION:
K, 3763