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: 2, ['b', '4015', 'y', '4537', 'f']

Output: b, 4015, y


Input: Consider Input: 2, ['4619', '6389', '7529', 'B', '8289', '6167']

Output: 4619, 6389, 7529, B


Input: Consider Input: 11, ['9787', '803', '7421', 'Y', 'Z', '2697', '7535', '1095', '8655', 'W', 'h', '1315', '8649', '3221', 'm', '3479', '4625', '5877', 'e', '5817', '2655', '1815', 'q', '9407', 'Y', 'p']


Output: 9787, 803, 7421, Y, Z, 2697, 7535, 1095, 8655, W, h, 1315, 8649, 3221, m