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: 22, 30, ['T', 'Y', 'K', '561', 'G', '9531', '743', '9113', 'L', 'J', '6441', '9643', 'w', 'n', '685', 'm', '93', 'E', 'j', 'M', '81', 'K', 'b', '2211', '7677', 'd', 'x', '3385', '257', 'O']

K, b, 2211, 7677, d, x, 3385, 257, O