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:
3, ['9861', 'h', '87', 'z', '805', 'M', '513', '9101', '1595']

Ex Output:
9861, h, 87, z, 805, M


Ex Input:
7, ['8783', '5381', '2769', '6961', '5223', 's', 'U', 'i', 'd', 'F', '8159', 't', 'H', 'e', 't', '3747', '8047', '8479', '4807', 'T']

Ex Output:
8783, 5381, 2769, 6961, 5223, s, U, i, d, F, 8159, t, H


Ex Input:
10, ['4851', '2141', '7677', 'S', 'v', 'C', 'j', '7399', '2269', '8581', 'g', 'f', '2915', '9205', '8465', 'V', '5713', 'K', '6677', 'N', 'U', '9017', '2995', 'S']

Ex Output:

4851, 2141, 7677, S, v, C, j, 7399, 2269, 8581, g, f, 2915, 9205