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:
7, ['4909', '8255', 'o', '5105', '9655', '7121', 'T', 'T', '3245', 'r', '367', 'S', '2591', '7163', 'L', 'n', 'k']

Ex Output:
4909, 8255, o, 5105, 9655, 7121, T, T, 3245, r


Ex Input:
5, ['W', '9233', '4001', 'R', '2829', 't', 'T', '3353', '1013', 'w']

Ex Output:
W, 9233, 4001, R, 2829


Ex Input:
3, ['O', 'K', 'A', 'F', '1859', 'F', 'j', 'Q', 'e', 't', '7371', 'm', 'i', '861', 'Y', '2889']

Ex Output:

O, K, A, F, 1859, F, j, Q, e, t, 7371, m, i