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, 23, ['6667', 'v', 'q', '4653', '6911', '6211', '9451', 'D', '5411', '9183', '7781', 'c', 'F', 'X', 'h', 't', 'P', '5535', '2083', '3857', '2865', 'q', '4525', '7141']

X, h, t, P, 5535, 2083, 3857, 2865, q, 4525