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, ['849', 's', '5193', 'd', 'I', 'b', '1075', 'r', '4315', '7287', '4911', 'L', '8819', 'z', 'g', 'u', '3387', '3545', '4243', 'T', '5217', '1295']

I, b, 1075, r, 4315, 7287, 4911, L, 8819, z, g