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: 5, 10, ['X', '8445', '5501', 'S', 'y', 'k', '8889', 'Q', 'V', '849', 'P', 'Z', '3621', '7549', '75', 'e', '789', 'T', 'B', 'W', '7851', '4395', 'v', '6627']

y, k, 8889, Q, V, 849