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:
2, ['3727', 'R', 'h', '1969', 'v', '5353', 'A', 't', '2237', 'j', 't', 'T']

Ex Output:
3727, R, h, 1969, v, 5353, A, t, 2237, j


Ex Input:
8, ['1771', '9015', 'O', '5351', '8293', '8339', 'z', '333', '1363', 'c', 'd', '289', 'h', '6077', '9075', '5267', 'd', 'b', '7301']

Ex Output:
1771, 9015, O, 5351, 8293, 8339, z, 333, 1363, c, d


Ex Input:
6, ['7007', '2887', '7239', '6289', '3625', 'v', '4991', 'w', '3277', '2447', '6627', '1527', '3051', 'I', '7743', '281', '8035', '5365', '9801', 'E', '7199', 'Q', '2889', '8033', 'U', 'k', '7245', 'c']

Ex Output:

7007, 2887, 7239, 6289, 3625, v, 4991, w, 3277, 2447, 6627, 1527, 3051, I, 7743, 281, 8035, 5365, 9801, E, 7199, Q