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, ['555', 'x', '7843', 'C', '5791', 'i', '841', '5189', '3321', 'B', '9865', 'r']

Ex Output:
555, x, 7843, C, 5791, i, 841


Ex Input:
4, ['4951', 'S', '8149', '6325', '7631', 'I', 'Z', '9273', '1193']

Ex Output:
4951, S, 8149, 6325, 7631


Ex Input:
10, ['9281', 'O', 'N', '2551', 'M', '4983', 'r', '5831', 'P', 'l', '737', 'L', '8853', 'K', 'q', 't', '2541', '9021', '9729', 'L', '7253', 'T', '6837', '1195', 'Y']

Ex Output:

9281, O, N, 2551, M, 4983, r, 5831, P, l, 737, L, 8853, K, q