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: 4, ['c', '3351', '5559', 'A', 'g', 'v', '2673', '9251', 's', 'g', '5563', 't', 'j']

A: c, 3351, 5559, A, g, v, 2673, 9251, s
****
Q: 5, ['467', 'X', 'l', '895', 'F', '9837', 'H', 'y', 'n', '8395', '8195', 'Y', 'O', 'T']

A: 467, X, l, 895, F, 9837, H, y, n
****
Q: 5, ['9077', 'G', 'B', '8617', '9063', 'U', '5613', 'M', 'V', '1225', 'S', 'S', 'f', 'H', '7199', 'W', '4673', '4329', 'F', 'z', '425', '7639', '9367', 'w', 'E', 'V', 'L', 'g', 'H', 'n']

A:
9077, G, B, 8617, 9063, U, 5613, M, V, 1225, S, S, f, H, 7199, W, 4673, 4329, F, z, 425, 7639, 9367, w, E
****