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:
8, ['3873', '4431', '4295', 'W', 'X', 'U', 'X', '1877', 'u', '5755', '9109', '5211', '3037', 'V', 'S', 'c', 'O']

Ex Output:
3873, 4431, 4295, W, X, U, X, 1877, u


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

Ex Output:
2567, m, 8275, 3647, n, F, X, v, J, 1841, A, 5037, c, 773, 1763, A


Ex Input:
4, ['f', '3521', 'g', '5259', 'a', '4625', '2831', '1903', '6803', '6527', '2525', '3465', '1817', '9203', '5601', 'y', 'W', 'V', '6171', '7869', '2775', '2107', '5599', 'w', '4433', 'e', 'I', '5553']

Ex Output:

f, 3521, g, 5259, a, 4625, 2831, 1903, 6803, 6527, 2525, 3465, 1817, 9203, 5601, y, W, V, 6171, 7869, 2775, 2107, 5599, w