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, ['y', '7739', 'B', 'u', '3015', 'R', 'Y', '5359', 'x', '2305', 'G', '7425', '2775', 'J', '3019', '2907', 'r', '7089', 'i', '975', '9735', '5701']

Ex Output:
y, 7739, B, u, 3015, R, Y, 5359, x, 2305, G, 7425, 2775


Ex Input:
10, ['b', 'x', '7977', 'W', '1709', '9149', 'F', '375', '6819', 'c', '6487', 'W', '7829', '4627', 'f', 'k', '5761', 'u', '4451', '7011', 'v', 'C', 'K', 'n', '41', '7439', 'h', 'u']

Ex Output:
b, x, 7977, W, 1709, 9149, F, 375, 6819, c, 6487, W, 7829, 4627, f, k, 5761, u


Ex Input:
1, ['J', 'Q', '1071', '8691', 'W', '885', '9851', '8873', '5093', '1129', 'N', 'P', 'j', 'p', '6743', 'R', '1853', 'G', 'a', '7849', '4827', 'K', 'e', '9233', '1865', 'A', 'V']

Ex Output:

J, Q, 1071, 8691, W, 885, 9851, 8873, 5093, 1129, N, P, j, p, 6743, R, 1853, G, a, 7849, 4827, K, e, 9233, 1865, A