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:
4, ['9837', '9419', 'D', '1877', 'Q', '2375', '1141', 'i', 'x']

Ex Output:
9837, 9419, D, 1877, Q


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

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


Ex Input:
1, ['6571', '9979']

Ex Output:

6571