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, ['k', 'k', 'A', '5571', '3033', '5481']
Example Output: k, k, A, 5571

Example Input: 1, ['N', 'u', 'k', '2923', 'P', 'o']
Example Output: N, u, k, 2923, P

Example Input: 5, ['3081', '7445', '5357', '1445', 'H', 'j', '7635', '571', '97', 'x', '6321', '2095', 'd', '3069', '5189', 'I', 'h', '2095', '3465', 'B', 'N', '1983', '8705', 'K']
Example Output:
3081, 7445, 5357, 1445, H, j, 7635, 571, 97, x, 6321, 2095, d, 3069, 5189, I, h, 2095, 3465