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: 7, ['6443', '1261', '945', '2891', 'p', '2667', 'G', 'm', 'n', 'C', '3627', '9613', '9095', 'K', '3081', '4231', 'E', 'l']

A: 6443, 1261, 945, 2891, p, 2667, G, m, n, C, 3627
****
Q: 7, ['S', 'W', '8205', '5065', '7121', 'g', '3045', 'A', '239', '6759', 'G', 'e', '8499', 'h', 'W', 'x', '3699']

A: S, W, 8205, 5065, 7121, g, 3045, A, 239, 6759
****
Q: 4, ['H', '5003', '963', 'O', 'W', 'T', 'K', '7935', '9563', '7551', 'Z', 'N', 'q', 'Q', 'T', '9873', 'n', 'F', '3467', 'Q', 'H', 'c', '5205', '3855', 'P', 't', 'K']

A:
H, 5003, 963, O, W, T, K, 7935, 9563, 7551, Z, N, q, Q, T, 9873, n, F, 3467, Q, H, c, 5205
****