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]: 5, ['2567', 'm', '8275', '3647', 'n', 'F', 'X', 'v', 'J', '1841', 'A', '5037', 'c', '773', '1763', 'A', 'X', '5883', 'D', 'A', '3925']
[EX A]: 2567, m, 8275, 3647, n, F, X, v, J, 1841, A, 5037, c, 773, 1763, A

[EX Q]: 1, ['6805', '9895', 'T', '7003', 'D', 'v', '7551', 'g', 'M', '9261', 'O', '2521', '3501', '8093']
[EX A]: 6805, 9895, T, 7003, D, v, 7551, g, M, 9261, O, 2521, 3501

[EX Q]: 2, ['8973', 'w', '8005', 'M', 's', 'I', '6507', '9825', 'b', '6495', 'A', '7747', '959', '7123', '8613', 'g', '1359', '7885', '4143', '7937', 'm', '4705', 'P', 'W', 'b', '9551', 'g']
[EX A]:
8973, w, 8005, M, s, I, 6507, 9825, b, 6495, A, 7747, 959, 7123, 8613, g, 1359, 7885, 4143, 7937, m, 4705, P, W, b