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:
11, ['4889', '2673', '9457', 'G', '3985', 'R', '3483', '5941', '2107', '6687', '2067', 't', 'k', '1951', '773', 'v', 'M', '5637', '6963', 'V', 'Y', '5041']

Ex Output:
4889, 2673, 9457, G, 3985, R, 3483, 5941, 2107, 6687, 2067


Ex Input:
7, ['t', 'K', 'i', '2959', 't', '6067', 'R', 'B', 'i', 'S', 'k', '3319', 'c', '4817', 'U', 'Z', '1965', '7611', 'r', 'C']

Ex Output:
t, K, i, 2959, t, 6067, R, B, i, S, k, 3319, c


Ex Input:
6, ['x', '2025', 'W', '1337', 'o', '7903', 'Z', '7013', '4171', '5251', 'i', '8305', 'F', '8151']

Ex Output:

x, 2025, W, 1337, o, 7903, Z, 7013