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:
3, ['3395', '1491', '6533', 'W', 'Q', 'I', 'R']

Ex Output:
3395, 1491, 6533, W


Ex Input:
4, ['S', '9397', '3571', '6173', '5707', '3343', 'L', '1371', '1485', '605']

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


Ex Input:
10, ['a', '6459', 'G', 'S', '3497', 'D', '6227', '6699', 'B', '6909', '7875', '559', 'A', 'q', 't', 'c', '4099', 'l', '9633', 'H', 'h', '7151', '1507', '8145']

Ex Output:

a, 6459, G, S, 3497, D, 6227, 6699, B, 6909, 7875, 559, A, q