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, ['7991', 'm', 'P', '1029', 'D', 'x', 'L', '3549', '2747', '5545', 'l', 'T', 'S', 'b', '929', 'R', '8099', 'R', 'c', 'i', 'v', 'q', 'g', '2107', '6375']

Ex Output:
7991, m, P, 1029, D, x, L, 3549, 2747, 5545, l, T, S, b, 929, R, 8099, R, c, i, v


Ex Input:
5, ['y', 'L', '3769', '9435', 'o', '801', 'Y', 'Q', '9365', '1947', '6731']

Ex Output:
y, L, 3769, 9435, o, 801


Ex Input:
3, ['r', '6279', 'q', '6725', 'l', '7005', 'S', '8111', 'l', '3857', 'S', '7059', '3123', 'f', 'U', '2889', 'y', '679', '1299', '4481', '3153', 'H', 'd', 'G', '9721']

Ex Output:

r, 6279, q, 6725, l, 7005, S, 8111, l, 3857, S, 7059, 3123, f, U, 2889, y, 679, 1299, 4481, 3153, H