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:
2, ['t', '51', '4787', '2989', 'o', 'J', '7547', '5727', '5705', 'y', '9805']

Ex Output:
t, 51, 4787, 2989, o, J, 7547, 5727, 5705


Ex Input:
5, ['9903', 'P', '1623', '5483', 'D', 'W', '689', '5935', '1897', '233']

Ex Output:
9903, P, 1623, 5483, D


Ex Input:
1, ['3085', '6859', '803', '7413', '3003', '7093', 'E', 'f', '4659', 'I', 'v', '4335', 'F', 'T', 'c', '8063', '6785', 'r', '2843', 'X', 'K', 'h', 'k', '9141', 'V', 'J']

Ex Output:

3085, 6859, 803, 7413, 3003, 7093, E, f, 4659, I, v, 4335, F, T, c, 8063, 6785, r, 2843, X, K, h, k, 9141, V