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, ['6395', '6931', 'e', '6777', 'x', 'k', 'r', '8745', '6787', '9237', 'e', '6301', '6663', 'w']

Ex Output:
6395, 6931, e, 6777, x, k, r, 8745, 6787


Ex Input:
1, ['3541', 'c', '7535', '7105', '5225']

Ex Output:
3541, c, 7535, 7105


Ex Input:
4, ['7431', 'Z', '6977', 'h', 'M', '7659', 'r', 'Z', '2625']

Ex Output:

7431, Z, 6977, h, M