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: 6, ['8369', 'V', '267', '7265', 'V', 'G', 'P', '8681', '3513', '1899', '4619', 'Z', 'Y', '2757', 'x', '3991', 'p', 'c', '7139']

A: 8369, V, 267, 7265, V, G, P, 8681, 3513, 1899, 4619, Z, Y
****
Q: 6, ['6761', '7905', '5853', 'a', 'T', '8867', '6233', 'Q', '2069', '7369', '2497', 'r']

A: 6761, 7905, 5853, a, T, 8867
****
Q: 4, ['P', 'v', '7237', 'k', 'o', 's', 'K', '9307', 'Y', 'd', 'B', 'r', '9705', '6561', '8323', 't', '6599', '2321', 'l', 'X', '3533', '3999', 'r', '7117', '9029', 'I', 'M', 'r']

A:
P, v, 7237, k, o, s, K, 9307, Y, d, B, r, 9705, 6561, 8323, t, 6599, 2321, l, X, 3533, 3999, r, 7117
****