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, ['A', 'w', '9367', 'j', 'J', '457', 'z', 'C', 'V', 'S', 'P', '8791', '8675', '2373', 'w', 'B', 'p', 'y', '1057', '4815', '5749', 'v', '1123', 'f', 'p']

Ex Output:
A, w, 9367, j, J, 457, z, C, V, S, P, 8791, 8675, 2373, w, B, p, y, 1057, 4815


Ex Input:
2, ['D', '4719', 'E', 'B', 'Z', 'W', 'e', '7083', '167', 'p', 'z', '3405', 'I', 'g', '961', '2493', 'g', '7295', 'p', '6419', 'b', '2089']

Ex Output:
D, 4719, E, B, Z, W, e, 7083, 167, p, z, 3405, I, g, 961, 2493, g, 7295, p, 6419


Ex Input:
2, ['5819', 'Y', '2221', 'D', '8951', '4879', '4107']

Ex Output:

5819, Y, 2221, D, 8951