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: 11, 18, ['G', '9933', '5585', '4785', '4765', '9797', 'w', 'l', 'n', 'k', 'z', '977', '3741', 'p', '9491', '3489', '4367', '8507', '8635', '3301', 'W', '5239', '6777', '4115', 'P', 'k']

z, 977, 3741, p, 9491, 3489, 4367, 8507