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: 1, ['L', 'Y', 'W', 'h', '2135']

A: L, Y, W, h
****
Q: 5, ['9903', 'P', '1623', '5483', 'D', 'W', '689', '5935', '1897', '233']

A: 9903, P, 1623, 5483, D
****
Q: 12, ['8385', 'J', 'f', 'u', 'B', 'n', 'D', '6213', 'J', '3653', 'L', '5991', '7931', '6341', '1045', 'T', 'w', '9735', 'q', '9023', '6277', 'y', 'E', 'u', 'S', '8805', '1479', 'q', '233']

A:
8385, J, f, u, B, n, D, 6213, J, 3653, L, 5991, 7931, 6341, 1045, T, w
****