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, ['4679', '6723', '7389', 'S', '2909', '5943', '8189', '5923', 'G', '2389', 't', 'W', '6629', '9685', 'W', '4515', '3555', 'K', 'n']

Ex Output:
4679, 6723, 7389, S, 2909, 5943, 8189, 5923, G, 2389, t


Ex Input:
10, ['y', '6125', 'H', '2215', 'a', 'W', 'p', '727', '4473', '2895', 'm', 'g', '5259', 'k', '6351', '6209', '1609', '1399', 'y', 'j', '8859', '1213', '2643', 'L', 'K', 'b', 'z', 'o']

Ex Output:
y, 6125, H, 2215, a, W, p, 727, 4473, 2895, m, g, 5259, k, 6351, 6209, 1609, 1399


Ex Input:
5, ['2401', '9505', '9649', '5039', '8325', 'K', '4387', '8431', '1891', '5355', '3279', '5227', 'd', '3735', 'J', 'p', 'E']

Ex Output:

2401, 9505, 9649, 5039, 8325, K, 4387, 8431, 1891, 5355, 3279, 5227