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, ['u', 's', 'k', '5215', '9609', '1617', 'i']

Output: u, s, k, 5215


Input: Consider Input: 1, ['6107', '9057', '3107', 'Y', '9471']

Output: 6107, 9057, 3107, Y


Input: Consider Input: 8, ['g', '7267', '8193', 'H', '7913', '1875', '9939', '1733', '677', '699', 'v', 'A', 'Q', '1715', '7187', 'w', '5835', '7649', 'o', 'o', 's', '8833', 'R']


Output: g, 7267, 8193, H, 7913, 1875, 9939, 1733, 677, 699, v, A, Q, 1715, 7187