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: 4, ['c', '8925', 'H', 'r', 'b', 'c', '4701', 'W', 'u', 'O', '2557', '1995', '6013', 'A']

Answer: c, 8925, H, r, b, c, 4701, W, u, O


Question: 4, ['j', 'h', '2361', 'T', '8145', 'D', 'z', 'E', '8185', '4191', '769', '8723', 'p', '4967', 'w', 'c', '3027']

Answer:
j, h, 2361, T, 8145, D, z, E, 8185, 4191, 769, 8723, p