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: 5, ['7593', 'Y', '3923', '5793', '6977', '4977', 'X', 's', 'Z', '9629', '4277', '3385', 'R']
Example Output: 7593, Y, 3923, 5793, 6977, 4977, X, s

Example Input: 1, ['P', 'Q', '2335', 'Z', 'B', '4397', '8329', 'S', 'N', '9733', '4569', 'Z', 'G', '1243', '7337', '2581', '3033', '9325', '7911', '1175', 'G', '4717', '4581', 'e', '4439', 'i', 'J', '9957']
Example Output: P, Q, 2335, Z, B, 4397, 8329, S, N, 9733, 4569, Z, G, 1243, 7337, 2581, 3033, 9325, 7911, 1175, G, 4717, 4581, e, 4439, i, J

Example Input: 2, ['W', 'c', '9697', '8455', 'X', '6103', 'C', 'p', '2713', '7589', 't', '985', 'h', 'g', 'Y', '9391', 'H', '3773', '7653', '825', 'A', 'm', 'a', '7143', 'r', '5357', '1925']
Example Output:
W, c, 9697, 8455, X, 6103, C, p, 2713, 7589, t, 985, h, g, Y, 9391, H, 3773, 7653, 825, A, m, a, 7143, r