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: 3, ['161', 'Z', '5715', '9755', '2855', 'P']
Example Output: 161, Z, 5715

Example Input: 12, ['C', 'A', 'c', 'i', '2627', 'Q', 'Y', '4065', '7973', '8839', 'g', '8237', 'r', 'y', '1149', '4571', 'h', 'h', '6493', '4961', '1795', '1797', 'w', 'N', '2149']
Example Output:
C, A, c, i, 2627, Q, Y, 4065, 7973, 8839, g, 8237, r