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.

Example Input: 2, ['843', 'v', 'B', '8973', '3865', 'R', '3077', 'H', '1685']
Example Output: 843, v, B, 8973, 3865, R, 3077

Example Input: 1, ['C', '9777', 'V', '7481', '4737']
Example Output: C, 9777, V, 7481

Example Input: 1, ['521', '8237', 'u']
Example Output:
521, 8237