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, ['j', '3881', 'L', '7063', '8509', 'j', 'p', 'H', '2813', 'b']

A: j, 3881, L, 7063, 8509, j
****
Q: 7, ['8203', '9087', '6729', 'x', '6537', 'V', 'H', '8503', 'u', '9089', '5877', '7529', '7711', '4563', 'z', '1947', '8219', 'K', '4441', '4863', 'x', 'V', 'L', '3013']

A: 8203, 9087, 6729, x, 6537, V, H, 8503, u, 9089, 5877, 7529, 7711, 4563, z, 1947, 8219
****
Q: 11, ['2793', 'Z', 'w', '5359', '6787', 'E', '3061', 's', '4051', '5173', '5525', '2777', '2179', 'T', '4717', 'R', '139', '4041', 'S', '7309', 'D', 't', 'h', '1705', '4671', 'a', '323', 'C', '795', '3547']

A:
2793, Z, w, 5359, 6787, E, 3061, s, 4051, 5173, 5525, 2777, 2179, T, 4717, R, 139, 4041, S
****