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, 16, ['K', 'r', '7967', 'q', '875', '6695', '3785', 'u', 'b', '1359', 'g', 'l', '6683', '6255', '6613', 'K', '173', '2321', 'g', 'E', 'k', 'y', '7441', '2019', 'z']

g, l, 6683, 6255, 6613, K