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:
3, ['2029', '1977', '3787', '5191', 'r', '589', '2539', '7135', '9819', '7501', 'k', '2491', 'h', '5173', '2983', 'S', 'Y', 'I', '7451', 'q', '2685', '6363', 'v', 'B', 'i']

Ex Output:
2029, 1977, 3787, 5191, r, 589, 2539, 7135, 9819, 7501, k, 2491, h, 5173, 2983, S, Y, I, 7451, q, 2685, 6363


Ex Input:
3, ['M', '3663', '101', 'p', 'T', 'J', 'N', '7915', '5897', 'm', 'g', '3357', 'j', 'S', '7271', 'B', '4625', '7827', 'w', 'B', '8123', '6623']

Ex Output:
M, 3663, 101, p, T, J, N, 7915, 5897, m, g, 3357, j, S, 7271, B, 4625, 7827, w


Ex Input:
10, ['2837', '6921', '8725', 'K', '6913', '4347', 'm', '3447', '3847', '6287', '4001', '4793', '5771', 'i', '851', '5511', '991', '2907', 'i', '927', '7985']

Ex Output:

2837, 6921, 8725, K, 6913, 4347, m, 3447, 3847, 6287, 4001