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:
1, ['A', '7761']

Ex Output:
A


Ex Input:
2, ['v', 'l', 'a', '4761', '3467', 'd', 'i', '4703', 'Y']

Ex Output:
v, l, a, 4761, 3467, d, i


Ex Input:
3, ['A', 'F', '6855', '7521', 'd', 'm', 'Z', '5663', 'f', 'p', '7797', 'S', 'A', '7343', 'l', '1573']

Ex Output:

A, F, 6855, 7521, d, m, Z, 5663, f, p, 7797, S, A