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: 10, 10, ['y', 'c', 'O', '5577', '3081', 'C', 'U', '8869', '971', '785', 'O', 'R']

SOLUTION: 785

PROBLEM: 2, 7, ['4341', '8347', '6759', '9621', '169', 'p', 'O', 'm', 'G', 'f', 'n', 'e', 'b', '8283']

SOLUTION: 8347, 6759, 9621, 169, p, O

PROBLEM: 4, 8, ['h', 's', '1997', 'X', 'H', '4551', '7791', '6249', 'y', 'Y', 'e', '1415', '2321', 'i', '5773', '7291', 'd', '6855', 'G']

SOLUTION:
X, H, 4551, 7791, 6249