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, ['7539', '5355', '5163', '393', 'U', '9923', 'E', 'H', 'A', 'K', 'o', 'N', 'Z', 'c']

Ex Output:
7539, 5355, 5163, 393, U, 9923, E, H, A, K


Ex Input:
4, ['j', '3881', 'L', '7063', '8509', 'j', 'p', 'H', '2813', 'b']

Ex Output:
j, 3881, L, 7063, 8509, j


Ex Input:
9, ['I', '3405', '2145', '3629', '9381', 'Y', 'E', '1205', '6981', 'P', '7883', '9057', '6925', 'I', '5289', '3013', '1981', '1075', '4769', '3511', '137', '1755', '4597']

Ex Output:

I, 3405, 2145, 3629, 9381, Y, E, 1205, 6981, P, 7883, 9057, 6925, I