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:
4, ['S', '9397', '3571', '6173', '5707', '3343', 'L', '1371', '1485', '605']

Ex Output:
S, 9397, 3571, 6173, 5707, 3343

Ex Input:
3, ['O', '4045', 'd', 'r', 'h', '3903', 'I', '5309', '7833', 'c', '7265', 'X']

Ex Output:
O, 4045, d, r, h, 3903, I, 5309, 7833

Ex Input:
4, ['o', 'P', 'P', '2699', '8671', '4981', 'k', 'H', 'h', '5439', '9229', 'K', '5923', 'h', 'Y', 'f', '3863', '8625', '1017', 'W', '4569', '4671']

Ex Output:
o, P, P, 2699, 8671, 4981, k, H, h, 5439, 9229, K, 5923, h, Y, f, 3863, 8625