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:
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:
1, ['s', '5597', '6835', 'p', '171', 'C']

Ex Output:
s, 5597, 6835, p, 171


Ex Input:
2, ['i', '5859', 'e', '4795', 'J', '4847', '4465']

Ex Output:

i, 5859, e, 4795, J