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:
7, ['Y', '237', 'u', '6417', '8945', 'B', 'K', 's', '7275', 'o', '8239', 'Z', 'M', '2951', 'y', 'b', '3473', 'f', '6235', '1895']

Ex Output:
Y, 237, u, 6417, 8945, B, K, s, 7275, o, 8239, Z, M


Ex Input:
4, ['6995', 'e', 'o', 'O', 'i', 'm', 'R', 'g', '8387', '7573', 'D', '8767', 'y']

Ex Output:
6995, e, o, O, i, m, R, g, 8387


Ex Input:
5, ['Y', 'r', '9549', 'A', 'W', '9491', '1261', '2453', '5669', 'd', '9411', '1809', '581', 'O', '1969']

Ex Output:

Y, r, 9549, A, W, 9491, 1261, 2453, 5669, d