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:
4, ['971', '3213', 'E', 'o', 'x', 'h', '5493', '4229']

Ex Output:
971, 3213, E, o


Ex Input:
1, ['m', 'M', '7431', '8295']

Ex Output:
m, M, 7431


Ex Input:
7, ['Z', '5417', '4849', '8355', '6389', '7963', 'Y', 'i', '8657', '6007', 'h', 'O', '7553', '6799', 'Z', 'n', '737', '4703', '9521', 'x', '8389', '5307']

Ex Output:

Z, 5417, 4849, 8355, 6389, 7963, Y, i, 8657, 6007, h, O, 7553, 6799, Z