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: 2, 4, ['f', '6191', 'B', 'O', '7073', 'l', '5791', '2555', '3889', '9853', 'h', '4729', '5203', 'J', 'A', 'Y', '8673', '6263', '8967', '7473', '7055', '6079', '525', 'L', 'l']

6191, B, O