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:
9, ['2975', '9501', '5493', 'T', '3115', 'p', 'V', 'B', 'A', 'a', 'I', '943', 'd', '3095', 'Y', 'y', '99', 'z', '9949', 'c', '3851']

Ex Output:
2975, 9501, 5493, T, 3115, p, V, B, A, a, I, 943


Ex Input:
1, ['8241', 'Q', 'm', '1117', 'M', '7055', 'R', 'E', 's', '1745', 'g', 'V', '9185', '8203', 'Y', 'N', 'F', '2225', '1859', '4107', '5543', '37', 'X', '3451', '2265', '9289', '5619', '5851', 'h', '8059']

Ex Output:
8241, Q, m, 1117, M, 7055, R, E, s, 1745, g, V, 9185, 8203, Y, N, F, 2225, 1859, 4107, 5543, 37, X, 3451, 2265, 9289, 5619, 5851, h


Ex Input:
1, ['w', 'w', 'i', 'q', 'v', 'f', '521', '6011', '3447', '6271', 'Z', 'P', '8423', 'O', 'o', 'H', '7305']

Ex Output:

w, w, i, q, v, f, 521, 6011, 3447, 6271, Z, P, 8423, O, o, H