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]: 9, ['p', '8745', 't', 'Z', '1391', 'J', 'A', '7825', '7867', 'J', '1797', '129', 'f', '7707', 'P', '7771', 'O', '6969']
[A]: p, 8745, t, Z, 1391, J, A, 7825, 7867


[Q]: 3, ['k', 'U', 'V', 't', '7875', 'E', 'i', '6211', '3549', 'Y', 'U', '7547']
[A]: k, U, V, t, 7875, E, i, 6211, 3549


[Q]: 6, ['2151', '4171', '8875', '7821', '5093', '6219', 'c', '7875', '3627', '2231', '463', 'T', 'K', 'm', 'P', 'F', 'u', '4817', '6821', '8717', '8337', 'f', '9923', '4421', 'A']
[A]:
2151, 4171, 8875, 7821, 5093, 6219, c, 7875, 3627, 2231, 463, T, K, m, P, F, u, 4817, 6821