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: 12, ['125', 'm', 'Z', 'U', '5187', '1847', '3597', 'x', 'l', '5521', '6473', '3801', 'E', '3577', '6383', '7463', '7343', '6981', 'E', 'p', 'H', '7193', 'K', '4875']

A: 125, m, Z, U, 5187, 1847, 3597, x, l, 5521, 6473, 3801
****
Q: 4, ['j', '3881', 'L', '7063', '8509', 'j', 'p', 'H', '2813', 'b']

A: j, 3881, L, 7063, 8509, j
****
Q: 6, ['6781', '7009', 'E', '327', '6731', '7493', '9473', 'X', '1237', 'e', '273', '2661', 'h', 'z', '9089', 'K', 'W', '2781', '6259', '2745', '3663', 'o', '1575', '5763', 'd', '1821', '6843', '3759', 'p']

A:
6781, 7009, E, 327, 6731, 7493, 9473, X, 1237, e, 273, 2661, h, z, 9089, K, W, 2781, 6259, 2745, 3663, o, 1575
****