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:
1, ['m', 'M', '7431', '8295']

Ex Output:
m, M, 7431


Ex Input:
1, ['7949', '795', '3941', '403', '8067']

Ex Output:
7949, 795, 3941, 403


Ex Input:
8, ['3031', 'g', 'l', 'a', '1869', '3843', 'P', 'Z', 'K', '199', 'p', 'X', 'H', '6475', '2631', '9797', '1121', 'M', 'g', 'd', '8095', 'B', '9825', '1907', 'x', 'T', '8863', '6887']

Ex Output:

3031, g, l, a, 1869, 3843, P, Z, K, 199, p, X, H, 6475, 2631, 9797, 1121, M, g, d