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:
6, ['985', '7793', '2875', '4197', 'U', 'z', 'e', 'f', '591', '3747', '8661', 'I', 'u', '9343', '6973', 'K', '6295', '7271', 'g', '3797', '8631', '5711', '503']

Ex Output:
985, 7793, 2875, 4197, U, z, e, f, 591, 3747, 8661, I, u, 9343, 6973, K, 6295


Ex Input:
2, ['N', 'j', 'B', 'T', '4231', '2767', '4885']

Ex Output:
N, j, B, T, 4231


Ex Input:
6, ['W', '4939', '5943', 'L', '6707', '6359', 'F', 's', '3447', 'b', 'E', '4101', '637', 'x', '363', 'G', 'H', 'f', '6933', 'g', 'O', 'e', '7507', 'X']

Ex Output:

W, 4939, 5943, L, 6707, 6359, F, s, 3447, b, E, 4101, 637, x, 363, G, H, f