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, ['N', 'j', 'B', 'T', '4231', '2767', '4885']

A: N, j, B, T, 4231
****
Q: 2, ['9055', '7811', 'd', '7067', '4593', 'F', '9261', 'H']

A: 9055, 7811, d, 7067, 4593, F
****
Q: 12, ['1853', '8279', 't', 'B', '1367', '4741', '2413', 'M', '7667', '9113', '9247', 'y', '7743', '2551', 'G', 'I', 'c', 'u', 'n', 'I', 'a', '4291', '143', '3769', 'b', '8911', '9695', '287']

A:
1853, 8279, t, B, 1367, 4741, 2413, M, 7667, 9113, 9247, y, 7743, 2551, G, I
****