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.

[EX Q]: 1, ['T', '3241', 'k', 'r', 'x', '6509', 'Z']
[EX A]: T, 3241, k, r, x, 6509

[EX 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']
[EX A]: 129, j, x, x, A, 2755, z, 4145, 4607, 219, 5957, 7017, 8945

[EX Q]: 1, ['9461', '3915', 'r', 'O', '3373', '8471', '3293', '4443', 'U', '8215', 'i', '6211', '3241', '1375', '7369', '9195', '3013', '4515', 'J', '9927', '4685']
[EX A]:
9461, 3915, r, O, 3373, 8471, 3293, 4443, U, 8215, i, 6211, 3241, 1375, 7369, 9195, 3013, 4515, J, 9927