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: 17, 18, ['7387', '8485', 'V', 'P', 'H', '2863', '475', 'O', 'h', '4267', '6041', 'M', 'm', 'p', 'W', 'Y', '2893', 'm', 'X', 'm', '3243', 'r', 't', 'W', '2885', '7935', '4871', 'F']

2893, m