In this task, you are given inputs i and A, where i is an integer and A is a list. You need to list all the elements of A preceding the last i elements. i will always have a value less than the length of A.
--------
Question: 8, ['2657', 'u', '4419', '6719', '7841', 'u', '3781', 'o', 'w', '987', 'd', '1871', '4313', '1025', 'u', '3963', '7743', '1885', 'z', 'z', '7187', '5247']

Answer: 2657, u, 4419, 6719, 7841, u, 3781, o, w, 987, d, 1871, 4313, 1025


Question: 4, ['3057', '7783', 'o', 'M', '9309', 'V', '1425', 'X', 'f', 'y', 'q', '2831', 'y', 'A', '5567', 'c', '8645', 'S', 'd']

Answer: 3057, 7783, o, M, 9309, V, 1425, X, f, y, q, 2831, y, A, 5567


Question: 8, ['1635', 'N', '6941', '3221', '4357', 'u', '7277', '9979', '3967', '351', '5245', 'b', '1765', 'H', '8797', '2733', 'w', 'u']

Answer:
1635, N, 6941, 3221, 4357, u, 7277, 9979, 3967, 351