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:
1, ['8241', 'Q', 'm', '1117', 'M', '7055', 'R', 'E', 's', '1745', 'g', 'V', '9185', '8203', 'Y', 'N', 'F', '2225', '1859', '4107', '5543', '37', 'X', '3451', '2265', '9289', '5619', '5851', 'h', '8059']

Ex Output:
8241, Q, m, 1117, M, 7055, R, E, s, 1745, g, V, 9185, 8203, Y, N, F, 2225, 1859, 4107, 5543, 37, X, 3451, 2265, 9289, 5619, 5851, h


Ex Input:
5, ['5973', 'V', '2031', 'H', '6779', '8931', 'H', 'Z', '7833', 'P', '1749']

Ex Output:
5973, V, 2031, H, 6779, 8931


Ex Input:
4, ['o', 'P', 'P', '2699', '8671', '4981', 'k', 'H', 'h', '5439', '9229', 'K', '5923', 'h', 'Y', 'f', '3863', '8625', '1017', 'W', '4569', '4671']

Ex Output:

o, P, P, 2699, 8671, 4981, k, H, h, 5439, 9229, K, 5923, h, Y, f, 3863, 8625