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.

[EX Q]: 1, ['m', 'M', '7431', '8295']
[EX A]: m, M, 7431

[EX Q]: 2, ['8817', '3439', '8059', '703', '5885', '3175', 'x', '7971', 'f', '3897', 'e', 'B', '6923', 'Y', 'z', 'D', 'Z']
[EX A]: 8817, 3439, 8059, 703, 5885, 3175, x, 7971, f, 3897, e, B, 6923, Y, z

[EX Q]: 3, ['I', '1323', '4875', '5751', 'h', '2479']
[EX A]:
I, 1323, 4875