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: 13, ['p', 'L', '639', '5445', 'a', '5163', 'o', '5187', '3417', '6657', '7927', '9571', '8463', '2029', 'O', 'Q', 'x', 'G', 'i', 'h', '6847', '2741', '3585', 'B', '8121', 't', '3535']
Example Output: p, L, 639, 5445, a, 5163, o, 5187, 3417, 6657, 7927, 9571, 8463, 2029

Example Input: 1, ['O', '6951', '5741']
Example Output: O, 6951

Example Input: 5, ['6045', 'F', '633', 'j', '8261', '921', '8395', 'K', '2247', 'W', '6271', '177', 'S', 'D', '793', '8141', 'c', '4571', 'D', '2271', 'P', '4971', '1521', '6199', '1903']
Example Output:
6045, F, 633, j, 8261, 921, 8395, K, 2247, W, 6271, 177, S, D, 793, 8141, c, 4571, D, 2271