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.

[EX Q]: 2, ['6417', '8701', '5143', 'B', 'B', '8403', '4119', '5523', 'O', '9379', '5015', 'n', 'U', '1161', 'J', 'w', 'G', '6407', 'w', 'H', '2037', 'H', '8663', 'f', 'Z', '7127', 'w', 'C', '69', '6143']
[EX A]: 6417, 8701, 5143, B, B, 8403, 4119, 5523, O, 9379, 5015, n, U, 1161, J, w, G, 6407, w, H, 2037, H, 8663, f, Z, 7127, w, C

[EX Q]: 4, ['S', '9397', '3571', '6173', '5707', '3343', 'L', '1371', '1485', '605']
[EX A]: S, 9397, 3571, 6173, 5707, 3343

[EX Q]: 8, ['c', 'F', '6673', '3417', '4837', '2505', '9191', '7963', 'e', 'R', '1643', 'c', 'K', '6193', 'F', '5625', '2419', '8781', 'w', '3579', '5457', 'o', '8087', 'n', '8101', '7447']
[EX A]:
c, F, 6673, 3417, 4837, 2505, 9191, 7963, e, R, 1643, c, K, 6193, F, 5625, 2419, 8781