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:
10, ['G', '6913', '8663', 'T', 'q', 'f', '2601', '5891', '317', '845', '5811', 'X', 'd', 'K', '5683', '5679', 'h', '2247', 'm', 'p', '4683', '8285']

Ex Output:
G, 6913, 8663, T, q, f, 2601, 5891, 317, 845, 5811, X


Ex Input:
6, ['4355', '9479', '3741', '6469', 'r', 'n', 'e', '2955', '8441', '8099', 'x', 's']

Ex Output:
4355, 9479, 3741, 6469, r, n


Ex Input:
7, ['3811', 'P', 'E', '3091', 'H', 'L', '7587', '2313', 'J', 't', 'u', '3023', '8711', '5189', 'j', 'N', '545', 'h', 'I', '2585', '2551', 'x']

Ex Output:

3811, P, E, 3091, H, L, 7587, 2313, J, t, u, 3023, 8711, 5189, j