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, ['N', 'u', 'k', '2923', 'P', 'o']

Ex Output:
N, u, k, 2923, P


Ex Input:
8, ['2311', 'D', '2365', '6047', 'R', '5279', '9229', 'R', 'M', '2025', 'i', '3463', '3585', '5637', 'e', 'b', 'T', '4147']

Ex Output:
2311, D, 2365, 6047, R, 5279, 9229, R, M, 2025


Ex Input:
1, ['9799', '8365', 'g', '6661', '4065', '363', '7691']

Ex Output:

9799, 8365, g, 6661, 4065, 363