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: 8, 21, ['5091', 'x', '2469', '8243', 'e', '6803', 'M', '1285', '6127', '881', 'K', 'G', 'b', 'P', '5465', '2871', 'f', 'L', '7703', '1087', 'r', 'N', 'L', '7381', '6839', '7301', '6247']

1285, 6127, 881, K, G, b, P, 5465, 2871, f, L, 7703, 1087, r