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 Input:
2, ['f', 'X', 'M', '4005', '1665', '1379', '2731', 'p', '3683', 'C', '9699', 'H', '4481', 'M', 'e', 'N', 'C']

Ex Output:
f, X, M, 4005, 1665, 1379, 2731, p, 3683, C, 9699, H, 4481, M, e


Ex Input:
5, ['845', 'w', 'b', 'M', '8983', '1591', 'n', 'i', '9817', '1397', '5085', 'p', '503', 'o', '953', '3705', 'D']

Ex Output:
845, w, b, M, 8983, 1591, n, i, 9817, 1397, 5085, p


Ex Input:
3, ['t', 'U', '7845', '5123', 'Q', '9091', 'n', 'Y', 'Q', '8893', 'z', 'B', 'D', 'l', 'B', 'F', '3515', 'e', '173', '3419', '8301', 'V', '1537', '5765', '143', '9281', 'g', 'e']

Ex Output:

t, U, 7845, 5123, Q, 9091, n, Y, Q, 8893, z, B, D, l, B, F, 3515, e, 173, 3419, 8301, V, 1537, 5765, 143