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: 10, 14, ['83', '1027', 'I', '6791', 'W', 'K', '9367', '6879', '8439', '2267', '985', '1503', 'j', '367', 'Y', 'z', '6077', '7577', 'S', '7757', '9019', '8111', '4651', '4589']

2267, 985, 1503, j, 367