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:
7, ['4871', '3897', 'B', 't', 'V', '7127', '8163', 'R', 'c', 'o', 'w', 'b', '9099', '1405', 'i', '8279', '3689', 'x']

Ex Output:
4871, 3897, B, t, V, 7127, 8163, R, c, o, w


Ex Input:
2, ['3207', 'w', 'B', '4179', 'g', '1839', 'L', '8075', 's', '7479', 'f', '6717', '6499']

Ex Output:
3207, w, B, 4179, g, 1839, L, 8075, s, 7479, f


Ex Input:
4, ['B', 'G', 'i', '1523', '6177', 'K', 'z', '2661', 'c', 'D', 'W', 'o']

Ex Output:

B, G, i, 1523, 6177, K, z, 2661