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.

Example Input: 1, ['7949', '795', '3941', '403', '8067']
Example Output: 7949, 795, 3941, 403

Example Input: 7, ['E', '7593', '2777', 'g', '9021', '3847', 'e', 'C', 'O', '7139', '8815', 'v', '9409', 'B', '8067', 'J', '1811', '7405', '6379', 'a', 'Z', '9245']
Example Output: E, 7593, 2777, g, 9021, 3847, e, C, O, 7139, 8815, v, 9409, B, 8067

Example Input: 6, ['t', 'J', 'x', '4283', 'w', 'V', '5045', 'a', 'Z', '1775', 'Y', '4337', '9437', 'J', '3595', 'R', '6675', 'H', 'D', 'j', 'C', 'A', 'o', 'b', '4535', '1709']
Example Output:
t, J, x, 4283, w, V, 5045, a, Z, 1775, Y, 4337, 9437, J, 3595, R, 6675, H, D, j