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.

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

Example Input: 6, ['K', '3083', '3121', '2705', 'z', 'm', '3911', 'L', '3587', '9209', 'B', 'I', '4555', '2721', '7415', '9423', 'q', 'D', 'K', 'E', '5119', '7613', 'J', 'R']
Example Output: K, 3083, 3121, 2705, z, m, 3911, L, 3587, 9209, B, I, 4555, 2721, 7415, 9423, q, D

Example Input: 5, ['2365', 'G', 'A', '4095', 'Q', 'z', 'O', 'Y', '7517', 't', 'X', '253', '4723', '5121', '4175', 'a', '9713', '7893', '4429', '3339', 'l', 'C', 'g']
Example Output:
2365, G, A, 4095, Q, z, O, Y, 7517, t, X, 253, 4723, 5121, 4175, a, 9713, 7893