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: 5, ['6395', '6931', 'e', '6777', 'x', 'k', 'r', '8745', '6787', '9237', 'e', '6301', '6663', 'w']

Output: 6395, 6931, e, 6777, x, k, r, 8745, 6787


Input: Consider Input: 3, ['Q', '6385', '4397', '2659', 'G', 't', 'p', '6281', 'C', 'a', 'W', '333', '2717', 'O', '9417', '4893', '5913', 'D', '1529']

Output: Q, 6385, 4397, 2659, G, t, p, 6281, C, a, W, 333, 2717, O, 9417, 4893


Input: Consider Input: 2, ['6331', 'u', 'Y', '4987', '5589', '231', 'z', 'E']


Output: 6331, u, Y, 4987, 5589, 231