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: 3, 8, ['n', '1227', '6301', 'h', '4417', '6169', '5507', 'i', 'O', '7873', 'V', '5467', 'X', '9125', 'V', '1171', '2347', 'o', '6575', '6883', '3435', 'H', '1193', 'f', '4325', '1143', 'l']

6301, h, 4417, 6169, 5507, i