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: 10, ['5601', '8411', 'y', 'c', 'q', '7963', '1791', 'M', '459', '4021', 'H', 'K', '9797', '6097', '1285', '8899', 'h', '77', '1397', '8967', 'T', 's', '4103', '7311', 'Z', 'U', 'a', '7867']

Answer: 5601, 8411, y, c, q, 7963, 1791, M, 459, 4021, H, K, 9797, 6097, 1285, 8899, h, 77


Question: 7, ['6359', 'e', 'm', '9405', 'G', '1111', '7629', 'j', '1499', 'a', '683', '2853', 'j', 'l', 'g', '8575', '6289', 'B', '5161', '2487', 'z', 'J', 'v', 'K']

Answer: 6359, e, m, 9405, G, 1111, 7629, j, 1499, a, 683, 2853, j, l, g, 8575, 6289


Question: 3, ['7119', 'b', '3505', 'w', '9045', '3413', '5137', '3599', 'u']

Answer:
7119, b, 3505, w, 9045, 3413