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: 1, ['N', 'u', 'k', '2923', 'P', 'o']

Output: N, u, k, 2923, P


Input: Consider Input: 4, ['A', 'i', 'F', '4005', 'N', '3507', 'x', '5139']

Output: A, i, F, 4005


Input: Consider Input: 1, ['u', 'A', 'U', 'p', '633', 'r', '9369', '1741', 'F', '5635', 'k', '6183', '8495', '4153', 'y', 'I', '4367', 'y', 'h', '3133', '7917', '2783', 'Z', '6815', 'S']


Output: u, A, U, p, 633, r, 9369, 1741, F, 5635, k, 6183, 8495, 4153, y, I, 4367, y, h, 3133, 7917, 2783, Z, 6815