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, ['l', 'M', '5143', '6301', 'W', 'H', 'D', 'o', '7457', 'o', '5021', 'a', '5621', 'g', 'A', 'Q', 'X', 'X', 'b']

Ex Output:
l, M, 5143, 6301, W, H, D, o, 7457, o, 5021, a, 5621, g


Ex Input:
5, ['Y', '5715', 'g', 'J', '549', '9939', '8389', 'J', 'w', 'Q', '6491', 'T', '5097', '8161', '5', 'v', '3909', '8861', '7595', 'i', 'l', '6267', 'H', '4379', 'c', '3447']

Ex Output:
Y, 5715, g, J, 549, 9939, 8389, J, w, Q, 6491, T, 5097, 8161, 5, v, 3909, 8861, 7595, i, l


Ex Input:
2, ['7227', '603', 'F', '563', '9293', 'x', '1173', 'm', '521', 'X', 'V', 'i', 'm', '2527', '3773', '1925', '2623', 'w', '495', '5423', '7009', 'd', '9071', 'I', 'f', 'D', '8323', '2669', '3539']

Ex Output:

7227, 603, F, 563, 9293, x, 1173, m, 521, X, V, i, m, 2527, 3773, 1925, 2623, w, 495, 5423, 7009, d, 9071, I, f, D, 8323