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: 4, ['781', 'x', 'v', 'G', 'k', '4317', '6855', 'D', 'S', 'z', '8161', '2497', '255', 'N', 'F', 'X', 'W', 'D', '2873', '8385', 'M', '8043', 'z']

Output: 781, x, v, G, k, 4317, 6855, D, S, z, 8161, 2497, 255, N, F, X, W, D, 2873


Input: Consider Input: 3, ['V', '4605', '8081', '3723', 'y', '3045', 'P', '1013', '5441']

Output: V, 4605, 8081, 3723, y, 3045


Input: Consider Input: 1, ['5019', 'j', '8181', 'P', 'z', 'e', '3931', 'u', '7607', '7297', 'E', 'C', 'U', '1757', 'X', '6187', '1743', '1617', '1549', 'i', '8573', 'C', 'a', 'f', '313', '3023']


Output: 5019, j, 8181, P, z, e, 3931, u, 7607, 7297, E, C, U, 1757, X, 6187, 1743, 1617, 1549, i, 8573, C, a, f, 313