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: 5, ['F', '3891', 's', 'u', '5073', 'v', '8931', '2685', '3691', 'K', 'a', 'o']

A: F, 3891, s, u, 5073, v, 8931
****
Q: 2, ['H', 'F', 'J', 'X', 'S', 'r', '4103', 'N', '73', 'A', 'i']

A: H, F, J, X, S, r, 4103, N, 73
****
Q: 6, ['K', '3471', 'o', 'D', 'c', 'O', '2803', 'f', 'V', '7785', 'n', '6529', 'B', 'B', '1669', 'y', '9233', 'c', '3527', '4257', 'Q', 'z', 'x']

A:
K, 3471, o, D, c, O, 2803, f, V, 7785, n, 6529, B, B, 1669, y, 9233
****