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: 1, 20, ['R', 'h', '7009', 'k', '7371', 'p', '941', '3235', '3375', '6825', '6271', '7391', '3843', 'U', '1409', 'G', 'x', 'F', 'Y', '249', 'l', 'G', 'Y', 'X', 'n', '4215', 'U', '6643']

R, h, 7009, k, 7371, p, 941, 3235, 3375, 6825, 6271, 7391, 3843, U, 1409, G, x, F, Y, 249