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]: 6, ['8827', '6021', '6397', '71', 'u', 'l', '4735', '4253', '2233', '7871', 'j', '5375', '4627', 'E', '2221', 'P', '3249', 'Z']
[EX A]: 8827, 6021, 6397, 71, u, l, 4735, 4253, 2233, 7871, j, 5375

[EX Q]: 4, ['A', '865', 'W', 'T', 'L', 'X', '9859', 'q', '8911', '717', 'Q', 'F', 'e', '2691', '3913', '5015', 's', 'Q', 'g', 'B', '4665', '8957']
[EX A]: A, 865, W, T, L, X, 9859, q, 8911, 717, Q, F, e, 2691, 3913, 5015, s, Q

[EX Q]: 3, ['7709', '1445', 's', 'n', 'j', '6817', 'i', '905', '2135', '1675', 'L', '8037', '9921', 'E', 'W', '2393', 'W', '5041', 'z', '9241', '1767', 'H', 'e', 'a', '6863', 'J', 'Q', 'i', '1033']
[EX A]:
7709, 1445, s, n, j, 6817, i, 905, 2135, 1675, L, 8037, 9921, E, W, 2393, W, 5041, z, 9241, 1767, H, e, a, 6863, J