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:
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:
6, ['7335', 'z', 'q', '1643', '8317', 't', 't', '8503', 'b', 'c', '6825', '6045', 'h', '2005', 'f', 'W', '7821']

Ex Output:
7335, z, q, 1643, 8317, t, t, 8503, b, c, 6825


Ex Input:
2, ['3989', 'k', '4527', '253', '2967', 'w', 'q', '4651', '569', '641', 'Z', 'C', '2861', 'w', 'O', '1751', 'A', '4783', '7493', 'z', 'b', '6845', '3211', 'v', '5785', '7257', 'y', '9413', 'c']

Ex Output:

3989, k, 4527, 253, 2967, w, q, 4651, 569, 641, Z, C, 2861, w, O, 1751, A, 4783, 7493, z, b, 6845, 3211, v, 5785, 7257, y