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, ['9067', '79']
[EX A]: 9067

[EX Q]: 1, ['p', '8309', '1559', 'M', '9065']
[EX A]: p, 8309, 1559, M

[EX Q]: 9, ['F', 't', '8777', '843', 'S', 'I', 'y', '4343', '2909', 'U', '4287', 'a', 'y', '7557', 'F', '5887', 'z', '2389', '5261', 'e', 'W', 'l', 'c', 'v', 'b', '757', '143', '141', 'R', '835']
[EX A]:
F, t, 8777, 843, S, I, y, 4343, 2909, U, 4287, a, y, 7557, F, 5887, z, 2389, 5261, e, W