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: 18, 27, ['F', 'U', '2111', 'e', '3235', 'd', '3159', 'j', '9849', 'a', 's', 'R', '171', 'z', '2307', '8117', '8313', '6379', 'o', '5921', '6975', '1861', '6093', '5871', '5365', '5901', 'j', '8623', '6819', '2071']

6379, o, 5921, 6975, 1861, 6093, 5871, 5365, 5901, j