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, ['3727', 'R', 'h', '1969', 'v', '5353', 'A', 't', '2237', 'j', 't', 'T']
[A]: 3727, R, h, 1969, v, 5353, A, t, 2237, j


[Q]: 12, ['129', 'j', 'x', 'x', 'A', '2755', 'z', '4145', '4607', '219', '5957', '7017', '8945', 'P', 'P', '7815', 'G', '883', 'B', 'H', '4113', 'S', 'p', '6757', 'v']
[A]: 129, j, x, x, A, 2755, z, 4145, 4607, 219, 5957, 7017, 8945


[Q]: 5, ['1823', 'i', '8125', '1487', 'b', '5807', '2535', '5739', '4593', '8731', '9407', '1629', 'Z', '597', 'h', '2379', 'y', '341', 'g', '9615', '719', 'Z', '3695', '5919', 'g', '9897', 'g', 'Y']
[A]:
1823, i, 8125, 1487, b, 5807, 2535, 5739, 4593, 8731, 9407, 1629, Z, 597, h, 2379, y, 341, g, 9615, 719, Z, 3695