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: 9, 29, ['I', 'u', '7261', '3971', '7833', 'd', 'K', '6047', '2381', 'b', 'f', 'p', 'U', '8227', '4311', '3879', 'P', '7431', 'U', '5869', 'r', 'n', 'R', '8455', 'u', '8109', 'c', 'L', 'N', '8771']

2381, b, f, p, U, 8227, 4311, 3879, P, 7431, U, 5869, r, n, R, 8455, u, 8109, c, L, N