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, ['G', '5365', 'g', 'D', '979', '2379', 'H', 'N', '4891', 'F', '9849', 'L', 'w', 'I', '1991', '6423', 'g', '4621', 'Z', 'a', '7349', 'z', '8711', '9559']

Ex Output:
G, 5365, g, D, 979, 2379, H, N, 4891, F, 9849, L, w, I, 1991, 6423


Ex Input:
1, ['4009', 'a']

Ex Output:
4009


Ex Input:
14, ['6551', '2565', '741', '3619', '8073', '3001', '1087', '5159', 'w', '6105', 'D', '9567', '7307', 's', '267', '7287', '7515', '9597', '53', 'P', '8793', '6115', 'h', '7825', '6569', 'C', 'a', '6073', 'a']

Ex Output:

6551, 2565, 741, 3619, 8073, 3001, 1087, 5159, w, 6105, D, 9567, 7307, s, 267