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, ['8149', 'k', '6879', '8759', 'V', 'B', '6905', '6223', '1669', 'o', 'V', 'Z', '7441', '5477', '2353']
Example Output: 8149, k, 6879, 8759, V, B, 6905, 6223, 1669, o, V, Z

Example Input: 1, ['5019', '7299', '4009', 'f', 'p', '2957', '4843', '2641', 'S', '7159']
Example Output:
5019, 7299, 4009, f, p, 2957, 4843, 2641, S