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, ['Y', 'r', '9549', 'A', 'W', '9491', '1261', '2453', '5669', 'd', '9411', '1809', '581', 'O', '1969']

Ex Output:
Y, r, 9549, A, W, 9491, 1261, 2453, 5669, d


Ex Input:
4, ['F', 'k', '5745', 'T', 'p', '1283', 'A', '3837', 'y', 'j', '4083', 'm', '879', '1907', '2417', 'Q', '5303', '8327', 'd', '8699', '4873', '4291']

Ex Output:
F, k, 5745, T, p, 1283, A, 3837, y, j, 4083, m, 879, 1907, 2417, Q, 5303, 8327


Ex Input:
10, ['V', '9471', 'A', '2201', '249', 'x', 'l', '3851', 'z', '8299', '4469', '7039', 'k', 'G', 'm', '8681', '3513', 'w', 'z', '7489', 'l', '6697', 'Z', '5119']

Ex Output:

V, 9471, A, 2201, 249, x, l, 3851, z, 8299, 4469, 7039, k, G