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: 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: 7, ['Y', '237', 'u', '6417', '8945', 'B', 'K', 's', '7275', 'o', '8239', 'Z', 'M', '2951', 'y', 'b', '3473', 'f', '6235', '1895']

A: Y, 237, u, 6417, 8945, B, K, s, 7275, o, 8239, Z, M
****
Q: 7, ['t', 'W', 'a', '369', '9821', 'x', 'V', 'b', '1751', 'i', 'y', 'r', '3537', 'i', '5199', 'Z', '4831', 'D', 'r', '1851', 'i', 'k', '6401', '2161', 'A', '6421']

A:
t, W, a, 369, 9821, x, V, b, 1751, i, y, r, 3537, i, 5199, Z, 4831, D, r
****