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: 20, 22, ['g', 's', 'V', '3087', '7855', 'G', 'r', '3167', '2711', '4343', 'd', '9021', 'S', '8423', 'h', '1471', '1007', 'C', '515', 'V', '4081', 's', 'A', '6377']

V, 4081, s