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]: 1, ['2725', '4871']
[A]: 2725


[Q]: 3, ['161', 'Z', '5715', '9755', '2855', 'P']
[A]: 161, Z, 5715


[Q]: 3, ['e', 'g', '3451', '9677', '4467', 'K', 'k', '7913', '3557', 'J', 'l', 'Y', '6939', '4715', '8457', 'z', '8509', 'A', '4461', '6649', 'Y', '4617', '4229', '7051']
[A]:
e, g, 3451, 9677, 4467, K, k, 7913, 3557, J, l, Y, 6939, 4715, 8457, z, 8509, A, 4461, 6649, Y