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:
5, ['u', 'b', 'v', 'v', 'g', 'Q', 'z', '5659', '6375', '37', '913', '1701', 'S', 'G', '2355', 'S', '5855', '4511', 'p', '3173', 'M', 'X', 'd', '5601', 'G', 'A', 'u']

Ex Output:
u, b, v, v, g, Q, z, 5659, 6375, 37, 913, 1701, S, G, 2355, S, 5855, 4511, p, 3173, M, X


Ex Input:
6, ['r', 'p', '7223', '9051', 'u', 'v', '375', 'w', '8567', 'q', 'N', '9645', 'q', '8191', '4949', 'e']

Ex Output:
r, p, 7223, 9051, u, v, 375, w, 8567, q


Ex Input:
13, ['o', '2331', '1285', 'H', '3971', '2907', '8493', 'h', 'n', '5661', '8705', 'q', 'o', 'I', 'R', '4391', '1723', '7611', 'A', 'W', '4561', 'd', 'r', 't', 'B', 'C', 'v', '8501', 'B', '9585']

Ex Output:

o, 2331, 1285, H, 3971, 2907, 8493, h, n, 5661, 8705, q, o, I, R, 4391, 1723