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:
3, ['6559', 'R', '4925', 'c', '5437', 'I', '6551', '2853', 'j', '2775', '3157', 'X', '1467', '869', '2837', '1001', 'e', '7835', '9059']

Ex Output:
6559, R, 4925, c, 5437, I, 6551, 2853, j, 2775, 3157, X, 1467, 869, 2837, 1001

Ex Input:
6, ['2331', '8945', 'l', 'k', '3451', '9015', 'B', 'H', '2081', '5083', '125', '9517', 'e', '2255', '5253']

Ex Output:
2331, 8945, l, k, 3451, 9015, B, H, 2081

Ex Input:
6, ['B', 'N', '4987', 'v', 'Y', '9877', 'A', 't', '4825', 'y', 'i', '4071', '4937', 'V', 'o', '4137', '1059', '3223']

Ex Output:
B, N, 4987, v, Y, 9877, A, t, 4825, y, i, 4071