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: 25, 27, ['J', '7231', '8909', '3359', 'i', 'O', 'r', '2033', 'Z', '7187', '3477', 'c', '8485', 'B', '1879', '6123', 'l', '8713', 'N', 'P', 't', '3823', '5529', '4045', 'c', '4355', 'i', '4727']

c, 4355, i