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:
3, ['2029', '1977', '3787', '5191', 'r', '589', '2539', '7135', '9819', '7501', 'k', '2491', 'h', '5173', '2983', 'S', 'Y', 'I', '7451', 'q', '2685', '6363', 'v', 'B', 'i']

Ex Output:
2029, 1977, 3787, 5191, r, 589, 2539, 7135, 9819, 7501, k, 2491, h, 5173, 2983, S, Y, I, 7451, q, 2685, 6363

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:
3, ['6937', '2927', '1933', 'D', '725', '4685', '7385', '9725', '2527', 'e', '4657', '4399', 'e', '8179', '6891', 'H', 'E', 'd', 'm', 'W', 'B']

Ex Output:
6937, 2927, 1933, D, 725, 4685, 7385, 9725, 2527, e, 4657, 4399, e, 8179, 6891, H, E, d