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: 14, 22, ['177', '8725', '7217', '5347', 'x', 'j', '4279', 'K', 'Z', '1165', 'e', 'R', '7815', '1425', '9859', '9545', 'h', 'q', '9377', 'p', 'r', 'q', 'H', 'n']

1425, 9859, 9545, h, q, 9377, p, r, q