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.

[Q]: 6, ['8369', 'V', '267', '7265', 'V', 'G', 'P', '8681', '3513', '1899', '4619', 'Z', 'Y', '2757', 'x', '3991', 'p', 'c', '7139']
[A]: 8369, V, 267, 7265, V, G, P, 8681, 3513, 1899, 4619, Z, Y


[Q]: 2, ['821', 'U', '8533', 'q', '6011', '3347', '3055', '5687', '9103', 'C']
[A]: 821, U, 8533, q, 6011, 3347, 3055, 5687


[Q]: 2, ['U', '179', 'X', '5633', 'J', 'Z', 'L', 'F', '811', '6637', 'b', '7031', '7647', 'O', '9755', 'B', 'y', 'f', '9385', '6081', '157', '649', '4031', 'i', 'M', 'M', '3611']
[A]:
U, 179, X, 5633, J, Z, L, F, 811, 6637, b, 7031, 7647, O, 9755, B, y, f, 9385, 6081, 157, 649, 4031, i, M