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:
2, ['X', 'O', 'D', '7293', 'r', 'C', '9075', 's', 'X', '3037', 'k', '9989', '9417', '7901', 'D', 'M', 'r', 'F', 'L', '1601', '8645', 'T']

Ex Output:
X, O, D, 7293, r, C, 9075, s, X, 3037, k, 9989, 9417, 7901, D, M, r, F, L, 1601


Ex Input:
7, ['N', 'y', '1729', 'l', '739', 'V', '6443', '6063', 'M', '153', 'Z', '1741', '167', 'K', 'Z', '1427', '1775', 'A', '969', 'a', '2945']

Ex Output:
N, y, 1729, l, 739, V, 6443, 6063, M, 153, Z, 1741, 167, K


Ex Input:
1, ['1069', 'b', 'F', '4611', 'J', '8755', '9311', '8383', '813', '4349', 'B', 'k', '1783', '6083', '2571', 'h', 'i', '2249']

Ex Output:

1069, b, F, 4611, J, 8755, 9311, 8383, 813, 4349, B, k, 1783, 6083, 2571, h, i