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, ['N', 'j', 'B', 'T', '4231', '2767', '4885']

Ex Output:
N, j, B, T, 4231


Ex Input:
5, ['2905', '8299', '8635', 'e', '8833', '3137', '7109', '8535', 'y', 'o', 'c', '6837', '3693']

Ex Output:
2905, 8299, 8635, e, 8833, 3137, 7109, 8535


Ex Input:
3, ['4925', '1249', 'e', 'g', 'e', '2681', '5705', 'j']

Ex Output:

4925, 1249, e, g, e