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, ['L', 'e', '2543', '5425', 'N', '9257', 'P', '7295', 'h', '7417', '3627']

Output: L, e, 2543, 5425, N, 9257, P, 7295


Input: Consider Input: 3, ['Z', '1867', '3395', '4065', 'a', 'f', 'X', 'V', 'R', 'P', 'g', '2191', '933', '7691', '4161', 'P', 'r', '4905', '251', 'r', 'j', '5105', '1141']

Output: Z, 1867, 3395, 4065, a, f, X, V, R, P, g, 2191, 933, 7691, 4161, P, r, 4905, 251, r


Input: Consider Input: 2, ['s', 'N', 'F', '9519', '7167', 'c', 'm', 't', 'D', 'E', '4371', 'h', 'c', '8029', 'L', 'Y', '9255', 'C', 'o', 'I', '4913', 'z', '1369', '7005', '3849', '6977', 'X', '7579']


Output: s, N, F, 9519, 7167, c, m, t, D, E, 4371, h, c, 8029, L, Y, 9255, C, o, I, 4913, z, 1369, 7005, 3849, 6977