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: 6, ['3805', '1383', '8371', 'k', '7623', '8749', '1679', 'A', 'K', 'Z', 'd', 'M', '5925', 'S', '631', 'I', '9365', '1319', '4567', 'z', '3507']

A: 3805, 1383, 8371, k, 7623, 8749, 1679, A, K, Z, d, M, 5925, S, 631
****
Q: 5, ['2567', 'm', '8275', '3647', 'n', 'F', 'X', 'v', 'J', '1841', 'A', '5037', 'c', '773', '1763', 'A', 'X', '5883', 'D', 'A', '3925']

A: 2567, m, 8275, 3647, n, F, X, v, J, 1841, A, 5037, c, 773, 1763, A
****
Q: 3, ['Q', 'i', 'd', '8701', '8179', '7567', 'p', '8837', '2761', '4183', 'R', 'q', '8231', 'M', 'H', 'T', 'o', '9277', '6839', 'f', 'V', 'j', 'x', 'P', 'F', 'L', '7185', '1197', '9405', '7761']

A:
Q, i, d, 8701, 8179, 7567, p, 8837, 2761, 4183, R, q, 8231, M, H, T, o, 9277, 6839, f, V, j, x, P, F, L, 7185
****