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:
7, ['8783', '5381', '2769', '6961', '5223', 's', 'U', 'i', 'd', 'F', '8159', 't', 'H', 'e', 't', '3747', '8047', '8479', '4807', 'T']

Ex Output:
8783, 5381, 2769, 6961, 5223, s, U, i, d, F, 8159, t, H


Ex Input:
7, ['D', 'K', '9949', 'T', '8527', 'c', 'P', 'm', 'R', '2179', '8543', '5025', 'F', '2843', '9401', 'd', '8081', '567']

Ex Output:
D, K, 9949, T, 8527, c, P, m, R, 2179, 8543


Ex Input:
1, ['z', '3717', '4577', 'M', '5765', '2419', '6695', '8773', 'i', '2629', '4861', 'w', '8635', '9533', 'V', 'N', 'z', 'y', 'M', 'E', '7183', 'u', '8419']

Ex Output:

z, 3717, 4577, M, 5765, 2419, 6695, 8773, i, 2629, 4861, w, 8635, 9533, V, N, z, y, M, E, 7183, u