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: 21, 28, ['7561', '1475', 'A', '7623', 'k', '21', 'h', '3223', '4429', '8981', '8215', '5901', 'Z', 'F', '7267', '4255', '8707', '5147', '9871', 'G', 'F', 'u', '9451', '1629', '2725', 'Y', 'K', 'j']

F, u, 9451, 1629, 2725, Y, K, j