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, ['p', '8309', '1559', 'M', '9065']
Example Output: p, 8309, 1559, M

Example Input: 6, ['909', '9935', '8651', '6685', '8645', '1675', 'g', 'L', 'f', 'T', '5367', 'k', 'M', '5485', 'j', 'z', 'U', 'Y', '1345', 'I', 'o', '623', '7885', '6679', 'y', '1103']
Example Output: 909, 9935, 8651, 6685, 8645, 1675, g, L, f, T, 5367, k, M, 5485, j, z, U, Y, 1345, I

Example Input: 4, ['m', 'l', '3203', '5281', '4947', 'I', '7951', '1891', '2909', 'b', '3935', '7965', '6193', 'D', 'B', 'J', '9039', '1447', 'k', '1717', '5633', '1989', '6755', '9867']
Example Output:
m, l, 3203, 5281, 4947, I, 7951, 1891, 2909, b, 3935, 7965, 6193, D, B, J, 9039, 1447, k, 1717