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.
Input: 17, 18, ['5937', '5235', 'I', 'M', 'b', 'S', '4639', 'p', '7213', 'G', 'B', 'V', '349', 'V', 'I', 'm', 'a', '7297', 'H', 'y', '3997', 'T', '7855']

a, 7297