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: 4, 7, ['y', '6439', 'f', '1027', '3927', 'l', 'S', '9525', '8141', 'H', '7911', '1631', '9171', 'M', 'G', '6179', '5835', '1291', 'L', '4683', '925', '6391']

1027, 3927, l, S