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: 9, ['p', '8745', 't', 'Z', '1391', 'J', 'A', '7825', '7867', 'J', '1797', '129', 'f', '7707', 'P', '7771', 'O', '6969']
Example Output: p, 8745, t, Z, 1391, J, A, 7825, 7867

Example Input: 11, ['7021', 'w', 'I', '2123', '5935', 'y', 'l', '2351', '3207', '9613', '963', '8925', '9673', 'X', 'z', 'X', 'K', 'w', '2433', 'O', '1495', 'Z', '957', 'R', 'l', '8745', '5553', 'R']
Example Output: 7021, w, I, 2123, 5935, y, l, 2351, 3207, 9613, 963, 8925, 9673, X, z, X, K

Example Input: 3, ['4073', 'E', '3673', 'j', 'y', 'Z']
Example Output:
4073, E, 3673