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: 4, ['1063', 'q', 'D', '9689', '4921', 'Z', '9203', '9771', 'n', '7059']
Example Output: 1063, q, D, 9689, 4921, Z

Example Input: 5, ['s', 'i', '3295', 'n', '1193', 'c', 'Z', 'x', '6739', 's', '8097', '3231', 'D', 'Q', '5999', 'E']
Example Output: s, i, 3295, n, 1193, c, Z, x, 6739, s, 8097

Example Input: 7, ['z', 'n', '1645', 'F', '3135', 'w', 'K', '2411', 'b', 'B', 'q', '5281', '3239', 'g', '5679', 'm', 'M', 'F', '2997', 'X', '6659', 't', 'p', 'J', '3777', '4453', '7111', '1065']
Example Output:
z, n, 1645, F, 3135, w, K, 2411, b, B, q, 5281, 3239, g, 5679, m, M, F, 2997, X, 6659