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:
3, ['9869', 'k', '3023', '4437', 'h', '877', 'y']

Ex Output:
9869, k, 3023, 4437


Ex Input:
2, ['7835', '1279', 's', '1149', 'x', 'L', '4499', '517', 'Y', 'E', 'h', '2687', 'f']

Ex Output:
7835, 1279, s, 1149, x, L, 4499, 517, Y, E, h


Ex Input:
5, ['555', 'x', '7843', 'C', '5791', 'i', '841', '5189', '3321', 'B', '9865', 'r']

Ex Output:

555, x, 7843, C, 5791, i, 841