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: 12, 24, ['h', '8851', '5353', '9381', 'P', '259', '5563', 'M', '6505', 'C', 'Q', 'K', 'H', 'h', '821', '3147', 'h', '8781', '2177', 'K', '6951', '1457', '3135', '6641', 'X', '6605']

K, H, h, 821, 3147, h, 8781, 2177, K, 6951, 1457, 3135, 6641