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: 16, 20, ['2197', '997', '1381', '677', 'p', '6441', 'v', 'f', '497', 'R', '3547', '8141', 'x', 'I', 'x', '7749', '7981', '423', '3997', 'F', '7089', 'u', 'n', '3559', '1629', '1743', 'p', '2815', '4643']

7749, 7981, 423, 3997, F