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, ['2181', '4599', 'D', 'z', '9097', '9267', 'q', '71', 'w', 'D', 'K', 'V', '2653', '2427', '1471', '733', '6887', '2789', 'G', 'S', '8401', '8327', '307', 'r', 'n', 'u']
Example Output: 2181, 4599, D, z, 9097, 9267, q, 71, w, D, K, V, 2653, 2427, 1471, 733, 6887, 2789, G, S, 8401, 8327, 307

Example Input: 3, ['3739', '5937', '753', '9229', 'N', '1723', 'B', '5603', 'm', '8339', 'I']
Example Output: 3739, 5937, 753, 9229, N, 1723, B, 5603

Example Input: 3, ['k', '1367', '8313', '5561', '3913', '5859', '8875', '2019', 'K', '7527', '5167', 'U', '7509', 'N', 'C', '9299', 'T', '4385', 't', '9317', 'w', '6819', '9905', 'b', 'o']
Example Output:
k, 1367, 8313, 5561, 3913, 5859, 8875, 2019, K, 7527, 5167, U, 7509, N, C, 9299, T, 4385, t, 9317, w, 6819