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: 19, 22, ['A', '3747', 'K', '8215', '3207', 'S', '5653', 'b', '3745', '7787', '5383', '2697', 'D', 'P', '611', 'Q', '3671', '5853', 'H', '6841', '8511', '3069', 't', '1255', '105']

H, 6841, 8511, 3069