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, 16, ['5837', 'e', '3519', 'W', 'B', '1053', 'k', '9497', '1187', '5885', 'j', '9221', 'u', '739', '4521', 'o', '9645', '7949']

9221, u, 739, 4521, o