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, ['A', 'w', '4031', '5175', 'H', '4627', '8031', 'Z', 'u', '5489', '1145', '1173', '5959', '5695', 'b', '9535', '8215', 'x', 'U', 'V', '773']

Ex Output:
A, w, 4031, 5175, H, 4627, 8031, Z, u, 5489, 1145, 1173, 5959, 5695, b, 9535, 8215, x, U


Ex Input:
3, ['z', '6977', '5793', '8711', 'm', '7889', 'y']

Ex Output:
z, 6977, 5793, 8711


Ex Input:
2, ['9487', '7299', 'V', 'P', 'O', '8889', 'M', 'b', '9031', '4893', 'Y', '9485', '3577', 'j', '9391', 'Q', 'T', 'X', '2609', '4233', 'm', 'f', 'S']

Ex Output:

9487, 7299, V, P, O, 8889, M, b, 9031, 4893, Y, 9485, 3577, j, 9391, Q, T, X, 2609, 4233, m