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:
5, ['845', 'w', 'b', 'M', '8983', '1591', 'n', 'i', '9817', '1397', '5085', 'p', '503', 'o', '953', '3705', 'D']

Ex Output:
845, w, b, M, 8983, 1591, n, i, 9817, 1397, 5085, p


Ex Input:
3, ['Z', '1867', '3395', '4065', 'a', 'f', 'X', 'V', 'R', 'P', 'g', '2191', '933', '7691', '4161', 'P', 'r', '4905', '251', 'r', 'j', '5105', '1141']

Ex Output:
Z, 1867, 3395, 4065, a, f, X, V, R, P, g, 2191, 933, 7691, 4161, P, r, 4905, 251, r


Ex Input:
6, ['6971', 'a', '8661', 'Y', '5099', 'E', '9091', 'O', '2973', '3537', '1455', 'W', 'N', 'T', '8763', 'w', '6059', 'M', '939', '9207', 'g', 'j', '6051', '1799', 'c']

Ex Output:

6971, a, 8661, Y, 5099, E, 9091, O, 2973, 3537, 1455, W, N, T, 8763, w, 6059, M, 939