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, ['M', '5663', '4129', 'B', '7459', 's', '6615', 's']

Output: M, 5663, 4129, B, 7459


Input: Consider Input: 7, ['6443', '1261', '945', '2891', 'p', '2667', 'G', 'm', 'n', 'C', '3627', '9613', '9095', 'K', '3081', '4231', 'E', 'l']

Output: 6443, 1261, 945, 2891, p, 2667, G, m, n, C, 3627


Input: Consider Input: 8, ['4723', 'n', '7205', 'z', '8987', '7777', 'e', '3245', '5907', '1151', 'n', 'n', '6789', 'h', '4791', 'g', '5039', 'x', '1025', 'r', '1291', '5991', 'l', '1999', '3573', '1667', '8297', '3823']


Output: 4723, n, 7205, z, 8987, 7777, e, 3245, 5907, 1151, n, n, 6789, h, 4791, g, 5039, x, 1025, r