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, ['3525', '3817', 'X', '2091', 'E', '7625', 'p', '8031', '3895', '4101', 'K', 'f', '4303', 'g', '1529', 'p', 'D', 'w', '1831', 'n', '1019', '9569', 'L', '447', 'L', 't', 'r']
[EX A]: 3525, 3817, X, 2091, E, 7625, p, 8031, 3895, 4101, K, f, 4303, g, 1529

[EX Q]: 7, ['E', '2953', 't', 'M', '7543', 'X', 'J', 'N', 'N', 'J', 'w', 'c', '2417', 'p', '9453', 'O', '3625', 't', 't', 'a', 'v', 'N', 'U', 's']
[EX A]: E, 2953, t, M, 7543, X, J, N, N, J, w, c, 2417, p, 9453, O, 3625

[EX Q]: 3, ['s', 'N', '3471', '1229', '5879', '9097']
[EX A]:
s, N, 3471