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.

Ex Input:
5, ['l', '1473', '6251', '1565', '4141', '1871', 's', 'v', 'y', 'd', '2539', '1435', '6661', '1285', '6317', '9047', '2543', 'u', '3483', 'y', '8777', 'y', '4333', 'C']

Ex Output:
l, 1473, 6251, 1565, 4141, 1871, s, v, y, d, 2539, 1435, 6661, 1285, 6317, 9047, 2543, u, 3483


Ex Input:
3, ['p', '7857', 'h', '7041', '7917', '1685', 'o', 'P', '5675', 'W', 'Z', 'L', 'W', 'z', '3111', 'm', 'n', '8823', 'R', '5619', '9219', 'M', 'a', '4991', '7801', '8387', '7483', 'Q', '789']

Ex Output:
p, 7857, h, 7041, 7917, 1685, o, P, 5675, W, Z, L, W, z, 3111, m, n, 8823, R, 5619, 9219, M, a, 4991, 7801, 8387


Ex Input:
3, ['S', '2221', 'x', 'd', 'x', 'K', '9477', 'g', '9013', '721', '6463', 'm', 'K', '8911', '6371', '9841', 'z', 'a', '1069', '5493', '5047', '5245', 'Q', 'n', '1847', '7073', 'V', '9529', 'n']

Ex Output:

S, 2221, x, d, x, K, 9477, g, 9013, 721, 6463, m, K, 8911, 6371, 9841, z, a, 1069, 5493, 5047, 5245, Q, n, 1847, 7073