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: 8, ['4679', '6723', '7389', 'S', '2909', '5943', '8189', '5923', 'G', '2389', 't', 'W', '6629', '9685', 'W', '4515', '3555', 'K', 'n']

A: 4679, 6723, 7389, S, 2909, 5943, 8189, 5923, G, 2389, t
****
Q: 2, ['4441', 'u', 'w', 'Q', '6763', '5673', '5773', '4745', 'q', 't', 'h', '2549', 'z', '6339', '1513', '3087', '7863', '7953', '9537', 'U', '3397', '6651', 'q', 'x', '8677', '8103']

A: 4441, u, w, Q, 6763, 5673, 5773, 4745, q, t, h, 2549, z, 6339, 1513, 3087, 7863, 7953, 9537, U, 3397, 6651, q, x
****
Q: 6, ['v', '6973', 'C', 'y', '7595', 'j', '4399', 'x', '9129', 'R', '8587', '8425', 'h', 'G', '3029', '6001', '5553', 'L', 'T', 'l', 'E', '6591', '2777']

A:
v, 6973, C, y, 7595, j, 4399, x, 9129, R, 8587, 8425, h, G, 3029, 6001, 5553
****