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: 20, 22, ['9427', 'D', 'M', 'S', 'H', 'o', '5611', '4947', 'b', '1593', '9497', 'f', 'k', 'P', '3017', '6487', 'D', '3015', '9317', '5481', 'v', '6633', 'h', '7193', '9069', 'p', '8807', 'Y']

5481, v, 6633