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:
3, ['9869', 'k', '3023', '4437', 'h', '877', 'y']

Ex Output:
9869, k, 3023, 4437


Ex Input:
1, ['9539', 'p']

Ex Output:
9539


Ex Input:
7, ['D', '6693', '825', '8803', '5203', '6491', '1803', '2365', '5581', '5271', '3095', '2353', 'K', '2845', '9255', 'K', 'X', 'l', '6321', '2811', 'T', 'v', '5243']

Ex Output:

D, 6693, 825, 8803, 5203, 6491, 1803, 2365, 5581, 5271, 3095, 2353, K, 2845, 9255, K