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: 16, 27, ['7911', 'O', 'M', 'c', 'S', '5951', '4969', 'F', '8655', '1191', '6227', '1615', '7833', '5189', '5857', '2303', '995', 'Z', 'X', '8905', '3899', '4323', '1143', 'a', '1685', 'W', 'N']

2303, 995, Z, X, 8905, 3899, 4323, 1143, a, 1685, W, N