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: 5, 15, ['1767', 'a', 'A', '2463', 'e', 'i', 'k', '6015', '7163', '5105', '1159', '5895', 'B', '5965', 'o', 'T', 'X', '3293', 's', '8277', 's', '9367', 'A', '2001', 's', 'u', 'G', 'e', '4229', '5745']

e, i, k, 6015, 7163, 5105, 1159, 5895, B, 5965, o