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]: 12, ['8683', '8853', 'r', '5697', 'P', '7487', 's', 'b', '5003', '6493', 'D', '1367', '4403', 'd', 'W', '5975', 'f', 'B', '8335', '899', 'x', 'G', '8921', 'd', '8455']
[EX A]: 8683, 8853, r, 5697, P, 7487, s, b, 5003, 6493, D, 1367, 4403

[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]: 12, ['J', 'f', 'p', 'U', '9385', 'G', '9165', 'U', 'Z', 'd', '1235', 'H', 'p', '3863', 'j', '4981', 'W', '3109', '7507', 'Y', 'p', 'Q', '2069', '3331', 'O', '5817']
[EX A]:
J, f, p, U, 9385, G, 9165, U, Z, d, 1235, H, p, 3863