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, ['o', 'i', 'D', '8205', '7451', 'J', 'f', '5177', 'a', 'O', '4499', '8375', '8559', '2119', 'S', '2435', 'w', 'L', 'h', '2053', 's', 'j']

Output: o, i, D, 8205, 7451, J, f, 5177, a, O, 4499, 8375, 8559, 2119


Input: Consider Input: 2, ['3441', '7719', 'K', '3183']

Output: 3441, 7719


Input: Consider Input: 5, ['G', 'U', 'g', '3361', '2405', '57', '7127', 'z', '2659', 'n']


Output: G, U, g, 3361, 2405