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:
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:
9, ['u', '4051', '3701', 'X', '4683', 'l', '7955', 'O', '4095', 'c', 'j', 'A', '6477', '529', '4761', '1117', 'l', 'X', 'h']

Ex Output:
u, 4051, 3701, X, 4683, l, 7955, O, 4095, c


Ex Input:
5, ['4943', '3471', '6729', 'M', 'e', 'R', 'x', 'T', 'h', 'F', '6185', 'O', 'W', 'B', '8025', '4797', 'W', '2175', '1241', '2039']

Ex Output:

4943, 3471, 6729, M, e, R, x, T, h, F, 6185, O, W, B, 8025