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, ['1209', '1993', '7445', 'q', 'Y', '7767', '9169', '9975', 'I', '2571', 'J', 'Q', 'u', 'Q', '3333', '8573', '7767', '3925', 'g', 'j', '241', 'w', '1705', 'A', 'K']

g, j, 241, w