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, ['1605', 'v', '1559', '9033', '6603', 'a', 'S', 'T', '7991', 'v', '2739', 'F', 'q', '1873', '2475', '3879', '4903', 'I', 'U', '2733', 'S', 'q', 'O', '1623']
[EX A]: 1605, v, 1559, 9033, 6603, a, S, T, 7991, v, 2739, F, q, 1873, 2475, 3879, 4903, I, U, 2733, S, q

[EX Q]: 6, ['1865', '5353', 'H', 'X', 'N', '5561', 'A', 'o', '8715', 'w', '6513', '8239', '3677', 'W', '7459', 'K', 'F', '39', '307', '7629', '6517', '9233']
[EX A]: 1865, 5353, H, X, N, 5561, A, o, 8715, w, 6513, 8239, 3677, W, 7459, K

[EX Q]: 9, ['p', '8745', 't', 'Z', '1391', 'J', 'A', '7825', '7867', 'J', '1797', '129', 'f', '7707', 'P', '7771', 'O', '6969']
[EX A]:
p, 8745, t, Z, 1391, J, A, 7825, 7867