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: 21, 24, ['6381', '2909', '6645', '3825', 'o', 'C', '1933', 'j', 'F', 'E', 't', '5267', '2625', '6507', 'o', '6043', 'j', '6613', '8195', '1537', 'm', 'P', '4655', 'r', '6089', 'A', 'h']

m, P, 4655, r