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, 7, ['R', 'A', 'm', 'h', '5549', 'V', '9429', '9591', '2911', '1163', '5325', 'M', '4959', '143', '4627', 'Z', '5623', '8423', '9655', '1473', '9053', '8149', 'D', 'S', 'B', '3887', '9865', '2875']

R, A, m, h, 5549, V, 9429