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: 21, 29, ['3347', '9303', '7277', '5039', '2041', 'i', '7669', '3815', 'q', 'p', 'X', '7889', 'B', '9359', '6081', 'j', 'k', 'T', '2809', 'u', '3795', '845', 'H', 'c', 'j', 'A', 'S', '6387', 'R']

3795, 845, H, c, j, A, S, 6387, R