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, ['L', 'V', '7357', 'p', 'P', 'B', '6813']
Example Output: L, V, 7357, p, P

Example Input: 3, ['9777', '5813', 'b', '6431', 'N', 'I', '5109', '3441', '6915', 'p', '6227', '1815', '3195', '8763', 'F', '6837', '8463']
Example Output: 9777, 5813, b, 6431, N, I, 5109, 3441, 6915, p, 6227, 1815, 3195, 8763

Example Input: 6, ['h', 'e', '9535', '5713', 'K', '1743', 'b', '4255', 'z', 'J', 'F', '7885', '2249', '5075', '6223', '7701', '8841', '9985', '4737', '9159', '6643', '1191', '7693', 'g', '1615', 'i', '2859', 'W', '9361', '9231']
Example Output:
h, e, 9535, 5713, K, 1743, b, 4255, z, J, F, 7885, 2249, 5075, 6223, 7701, 8841, 9985, 4737, 9159, 6643, 1191, 7693, g