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: 6, ['g', '2043', '6243', '8743', '2557', '8847', '663', 'D', 'M', '6503', 'u', 'W', 's', '3707', '4763', '6937']
Example Output: g, 2043, 6243, 8743, 2557, 8847, 663, D, M, 6503

Example Input: 3, ['9317', 'r', 'h', '8465', '8803', '9133', 'L', 'R', 'A', 'i', 'u', '8513', '9071', '3583']
Example Output: 9317, r, h, 8465, 8803, 9133, L, R, A, i, u

Example Input: 6, ['2151', '2517', '7875', 'r', 'A', 'u', '199', '7583', '5785', '1179', '5737', 'O', 'Q', 'O', 'f', 'g', 'i', '2191', 't', 'w', 'm', 'S', 'u', 'N', '2495', 'U', 'i', '4431', '6207']
Example Output:
2151, 2517, 7875, r, A, u, 199, 7583, 5785, 1179, 5737, O, Q, O, f, g, i, 2191, t, w, m, S, u