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: 1, ['Q', 'J']
Example Output: Q

Example Input: 3, ['o', 'l', '4141', '4805', '1971', '751']
Example Output: o, l, 4141

Example Input: 15, ['k', 'E', 'T', 'r', '747', '9761', '7905', '4219', '1267', 'Y', 'X', '5773', '6551', 'u', 'd', '4517', '5135', '8021', '9937', 't', '543', 'K', 'E', 'p', 'w', 'X', 'd', 'f', '3879', '8687']
Example Output:
k, E, T, r, 747, 9761, 7905, 4219, 1267, Y, X, 5773, 6551, u, d