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:
6, ['8827', '6021', '6397', '71', 'u', 'l', '4735', '4253', '2233', '7871', 'j', '5375', '4627', 'E', '2221', 'P', '3249', 'Z']

Ex Output:
8827, 6021, 6397, 71, u, l, 4735, 4253, 2233, 7871, j, 5375


Ex Input:
5, ['5945', '3475', '7789', '5501', 'V', 'Y', '4109', '1799', '585', '2855', 's', '3577', 'E', '3845', 'B', 'H', 'L', 'D']

Ex Output:
5945, 3475, 7789, 5501, V, Y, 4109, 1799, 585, 2855, s, 3577, E


Ex Input:
1, ['T', '4581', '6117', 'b', 'K', '4523', 'L', '7269', 'E', '6505', '333', '7899', '3611', 'O', '8555', 'U', 's', 'D', 'K', 'C', 'e', '9781', 'H', '9315', '4825', 'y', '4759', 'E', 'q']

Ex Output:

T, 4581, 6117, b, K, 4523, L, 7269, E, 6505, 333, 7899, 3611, O, 8555, U, s, D, K, C, e, 9781, H, 9315, 4825, y, 4759, E