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: 13, 22, ['s', 'w', '1153', 'p', '9783', '1093', 'u', '9535', 'v', '8075', '4775', 'k', '6027', '7793', 'E', 'K', 'N', 'g', 'c', '8697', '2447', 'E', '39', '5069', '4349']

6027, 7793, E, K, N, g, c, 8697, 2447, E