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: 5, 22, ['v', '57', 'u', '9031', '2453', '6659', 'P', '8891', '4485', '107', 'P', '139', '7679', '9389', 'o', '1673', '4835', 'U', 'm', 'L', '6083', 'm', '4323', 'q']

2453, 6659, P, 8891, 4485, 107, P, 139, 7679, 9389, o, 1673, 4835, U, m, L, 6083, m