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: 4, 16, ['2809', 'A', 'e', 'g', '5079', 'f', '1395', 'A', 'n', '7135', '4217', 'K', '3243', 'U', '3465', '9627', 'X', 'd', '1971', '27', 'F', '1633', 'R']

g, 5079, f, 1395, A, n, 7135, 4217, K, 3243, U, 3465, 9627