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, ['8139', 'u', '9539', 'y', 'w', 'X', 'P', 'f', '3325', 'l', 'M', 'R', 'd', '907', '4147', '9831', '3401', '4645']

Ex Output:
8139, u, 9539, y, w, X, P, f, 3325, l, M, R, d


Ex Input:
3, ['T', 'g', '4755', 'O', 'G', 'Z', 'r', '9337', '2691', 'h', 'j', '4271', 'T', '5217', 'a', '9671']

Ex Output:
T, g, 4755, O, G, Z, r, 9337, 2691, h, j, 4271, T


Ex Input:
12, ['1385', 'D', '5007', 'Q', '7255', '3205', 'u', '529', 'y', 'w', 'e', 'A', 'J', 'c', '3949', 'Q', '5495', 'K', 'T', 'b', 'b', '3927', '13', '2765', '2503', 'h', '2159', 'S', 'L']

Ex Output:

1385, D, 5007, Q, 7255, 3205, u, 529, y, w, e, A, J, c, 3949, Q, 5495