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.

Input: Consider 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']

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


Input: Consider Input: 5, ['Y', 'r', '9549', 'A', 'W', '9491', '1261', '2453', '5669', 'd', '9411', '1809', '581', 'O', '1969']

Output: Y, r, 9549, A, W, 9491, 1261, 2453, 5669, d


Input: Consider Input: 8, ['k', 'D', '4155', '4495', 'w', '4635', '9281', 'w', '7515', 'x', 'C', '971', 'N', '7635', 'H', '6299', 'X', '2119', 'C', 'T', 'C', '3929', 'b', '9991', 'm']


Output: k, D, 4155, 4495, w, 4635, 9281, w, 7515, x, C, 971, N, 7635, H, 6299, X