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: 11, ['h', 'c', 'H', 'J', 'Z', '4545', '4481', '53', 'W', '5899', 'H', 'l', 'L', 'C', 'Q', 'E', '3765', '1885', '517', '8723', '6651', '7353', 'q', 'w', 'F', '9487', 'Z']

A: h, c, H, J, Z, 4545, 4481, 53, W, 5899, H, l, L, C, Q, E
****
Q: 1, ['6805', '9895', 'T', '7003', 'D', 'v', '7551', 'g', 'M', '9261', 'O', '2521', '3501', '8093']

A: 6805, 9895, T, 7003, D, v, 7551, g, M, 9261, O, 2521, 3501
****
Q: 8, ['L', 's', 'V', '7435', '1509', '4197', 'B', '9081', '6639', '399', 'A', '7635', 'F', '6063', '6531', 'T', 'c', '9397', '2273', 'x', 'e', 'z', '3679', '6171', 'J', '9107', '9237', '9723']

A:
L, s, V, 7435, 1509, 4197, B, 9081, 6639, 399, A, 7635, F, 6063, 6531, T, c, 9397, 2273, x
****