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: 6, 18, ['3541', '6135', 'I', 'd', '4577', '2943', 'X', '1575', '7473', 's', 'G', 'N', '609', 'P', 's', '7761', '2733', '3471', 's', 'V', 'D', 'k', 'L', '3953', '6359', 'Q', '6545']

2943, X, 1575, 7473, s, G, N, 609, P, s, 7761, 2733, 3471