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: 1, ['2847', 'w', 'E', '4291', '9755', '491', '2807', '3995', '5677', '7395', '9175', 't', '9529']
Example Output: 2847, w, E, 4291, 9755, 491, 2807, 3995, 5677, 7395, 9175, t

Example Input: 3, ['8479', 'I', 'b', '3759', 'P', '4853']
Example Output: 8479, I, b

Example Input: 2, ['V', 'q', '4827', '1227', '2091', 'a', '7251', '6903', '1839', 'r', 'A', 'p', '7209', 'K', 't', 'c', '9943', 'G', '317', 'k', 'G', '4169', '2251', 's', 'n', '6671', 'G', 'm', '1183']
Example Output:
V, q, 4827, 1227, 2091, a, 7251, 6903, 1839, r, A, p, 7209, K, t, c, 9943, G, 317, k, G, 4169, 2251, s, n, 6671, G