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]: 4, ['971', '3213', 'E', 'o', 'x', 'h', '5493', '4229']
[A]: 971, 3213, E, o


[Q]: 4, ['u', '8921', '7805', '1995', '5493', 'D', 'A', '9687']
[A]: u, 8921, 7805, 1995


[Q]: 1, ['6083', '3265', 'l', 'h', 'A', 'Z', 'a', '1161', '8291', '1157', '5695', 'z', '5093', '6133', '3473', 'g', 'Y', '4129', 'V', '2013', '6883', '7271']
[A]:
6083, 3265, l, h, A, Z, a, 1161, 8291, 1157, 5695, z, 5093, 6133, 3473, g, Y, 4129, V, 2013, 6883