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: 3, ['5109', 'f', 'c', '8429', 'e', 'k', 'q', 'h', '9773', 'j', '6643', '2019', '2625', 'y', '375', '649', '9901', '6511', '9219', 'd']
Example Output: 5109, f, c, 8429, e, k, q, h, 9773, j, 6643, 2019, 2625, y, 375, 649, 9901

Example Input: 2, ['843', 'v', 'B', '8973', '3865', 'R', '3077', 'H', '1685']
Example Output: 843, v, B, 8973, 3865, R, 3077

Example Input: 5, ['k', 'N', '8569', '9653', 'K', 'F', '9543', 'I', '2769', 'W', '7231', 'T', '1765', 'g', '9875']
Example Output:
k, N, 8569, 9653, K, F, 9543, I, 2769, W