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: 2, ['k', '8415', '5017', 'B', 'j']
Example Output: k, 8415, 5017

Example Input: 2, ['4441', 'u', 'w', 'Q', '6763', '5673', '5773', '4745', 'q', 't', 'h', '2549', 'z', '6339', '1513', '3087', '7863', '7953', '9537', 'U', '3397', '6651', 'q', 'x', '8677', '8103']
Example Output: 4441, u, w, Q, 6763, 5673, 5773, 4745, q, t, h, 2549, z, 6339, 1513, 3087, 7863, 7953, 9537, U, 3397, 6651, q, x

Example Input: 5, ['4717', '2413', 'C', '2809', 'Z', 'i', 'v', '9059', '7885', 'K', 'r', '103', '2799', 'm', '4181', '8537']
Example Output:
4717, 2413, C, 2809, Z, i, v, 9059, 7885, K, r