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: 7, 20, ['d', '7145', 'E', '6635', 'g', 'Y', 'o', '9251', '2797', 'c', 'B', 'd', 'F', 'b', '6741', '5709', 'o', '6471', 'K', '3565', '479', 'l', '1713']

o, 9251, 2797, c, B, d, F, b, 6741, 5709, o, 6471, K, 3565