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: 10, ['L', '1869', '833', 'D', 'Y', '8065', '1633', 'b', '6279', 'n', '8247', 'K', 'g', '8071', '3835', '5713', '5255', 'W', 'R', '9377', 'W', '2647']
Example Output: L, 1869, 833, D, Y, 8065, 1633, b, 6279, n, 8247, K

Example Input: 5, ['2567', 'm', '8275', '3647', 'n', 'F', 'X', 'v', 'J', '1841', 'A', '5037', 'c', '773', '1763', 'A', 'X', '5883', 'D', 'A', '3925']
Example Output: 2567, m, 8275, 3647, n, F, X, v, J, 1841, A, 5037, c, 773, 1763, A

Example Input: 4, ['3989', '7711', '7775', '6423', 'u', 'F', '9799', '2797', 'G', '7151', 'q', 't', '1469', '9203', '1443', 'q', 'X', '8261', 'o', 'j', '6367', '741', 'o', '5001', 'O', 'i']
Example Output:
3989, 7711, 7775, 6423, u, F, 9799, 2797, G, 7151, q, t, 1469, 9203, 1443, q, X, 8261, o, j, 6367, 741