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:
1, ['n', 'i', 'z', '2467']

Ex Output:
n, i, z


Ex Input:
5, ['2567', 'm', '8275', '3647', 'n', 'F', 'X', 'v', 'J', '1841', 'A', '5037', 'c', '773', '1763', 'A', 'X', '5883', 'D', 'A', '3925']

Ex Output:
2567, m, 8275, 3647, n, F, X, v, J, 1841, A, 5037, c, 773, 1763, A


Ex Input:
7, ['U', 'U', 'X', '1963', 'X', '7597', '3719', '5435', '2453', 'W', '8411', '649', '2193', '2803', '8171', '3445']

Ex Output:

U, U, X, 1963, X, 7597, 3719, 5435, 2453