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: 8, ['3149', '7327', '8513', '4681', 'O', '5083', 'A', 'z', '5367', '3713', '8887', 'U', '23', '8091', 'A', 'k', 'F', 's', 'Y', '2217', '6479', 'F', '2239', '3305', 'N', '8459', '667', 'D', 'j']

Output: 3149, 7327, 8513, 4681, O, 5083, A, z, 5367, 3713, 8887, U, 23, 8091, A, k, F, s, Y, 2217, 6479


Input: Consider Input: 1, ['Q', 'J']

Output: Q


Input: Consider Input: 3, ['G', '7037', 't', 'W', 'l', 'X', '1183', '1925', 'M', 'm', '3109', '1831', '1707', 'c']


Output: G, 7037, t, W, l, X, 1183, 1925, M, m, 3109