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: 3, ['o', 'l', '4141', '4805', '1971', '751']

Output: o, l, 4141


Input: Consider Input: 4, ['6995', 'e', 'o', 'O', 'i', 'm', 'R', 'g', '8387', '7573', 'D', '8767', 'y']

Output: 6995, e, o, O, i, m, R, g, 8387


Input: Consider Input: 1, ['4707', '6321', '5683', '5743', '6133', 'f', 'g', '5897', 'f', 'b', '4609', '8739', 'D', '7671', 'n', '7827', '5559', 'z', '5929', 'w', '4519', 'W', 'L', '9149', 'F', 'C', 'N', '4559']


Output: 4707, 6321, 5683, 5743, 6133, f, g, 5897, f, b, 4609, 8739, D, 7671, n, 7827, 5559, z, 5929, w, 4519, W, L, 9149, F, C, N