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]: 2, ['M', '4555', '3495', '6283', '6109']
[EX A]: M, 4555, 3495

[EX Q]: 1, ['Y', '7135', '9601', 'U', 'l', 'y', '9113', '4389', 'l', '8009', 'M', 'D', '5721', 'u', '5437', 'j', '3101', 'X', 'f', '8845', '2795']
[EX A]: Y, 7135, 9601, U, l, y, 9113, 4389, l, 8009, M, D, 5721, u, 5437, j, 3101, X, f, 8845

[EX Q]: 11, ['n', 's', 'z', '3985', 'J', '5025', 'd', 'L', '2387', '2949', '8315', 'z', '2229', '5279', '4737', '4953', 'f', '671', 'p', 'J', 'a', '2373', 'f', '1671', 'u', '5257']
[EX A]:
n, s, z, 3985, J, 5025, d, L, 2387, 2949, 8315, z, 2229, 5279, 4737