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: 2, ['y', '9251', '9425', 'B']

A: y, 9251
****
Q: 2, ['g', 'j', 'a', 'h']

A: g, j
****
Q: 11, ['1989', 'H', '3491', 'V', 'o', '847', '3373', '2347', 'A', 'J', 'L', '289', '6275', 'o', 'H', '5923', 'c', '4341', '2257', '4685', '1377', '149', 'U', '1859', '6687', 'M']

A:
1989, H, 3491, V, o, 847, 3373, 2347, A, J, L, 289, 6275, o, H
****