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: 1, 5, ['1929', 'G', '3609', '8065', '785', '4661', 'I', '1149', 'R', '8995', 'U', 'M', '2099', 'q', 'y', '743', '5121', '9265', '8123', 't', '335', 'v', 'm', '3501']

1929, G, 3609, 8065, 785