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: 2, 9, ['l', 'x', '5903', 'L', '9707', 'R', '2253', '6259', '3851', '4143', '559', '2421', 'k', '6467', 'N', '4017', 'B', 'S', 'I', 'Q', 'T', '7113', '9915', '7345', '3221', 'U', 'v']

x, 5903, L, 9707, R, 2253, 6259, 3851