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, 21, ['9879', 'g', 'V', 'k', 'N', '1753', 'P', 'C', '2039', '5321', '9707', 'P', '7849', '553', '7065', '7443', 'D', 'n', '3051', '4213', '7977', '9555', '8493']

P, 7849, 553, 7065, 7443, D, n, 3051, 4213, 7977