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]: 2, ['r', '7699', 's', 'c', '9657']
[A]: r, 7699, s


[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, ['7509', '2709', 'O', 'D', '4833', '4419', 'k', '3749', '2983', '3045', 'e', '5943', '8619', '9121', 'd', '1249', '5957', 'K', '7289', 'y', '3903', '185', 'P', 'j']
[A]:
7509, 2709, O, D, 4833, 4419, k, 3749, 2983, 3045, e, 5943, 8619, 9121, d, 1249, 5957, K, 7289, y, 3903