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:
5, ['y', 'L', '3769', '9435', 'o', '801', 'Y', 'Q', '9365', '1947', '6731']

Ex Output:
y, L, 3769, 9435, o, 801


Ex Input:
6, ['g', '2043', '6243', '8743', '2557', '8847', '663', 'D', 'M', '6503', 'u', 'W', 's', '3707', '4763', '6937']

Ex Output:
g, 2043, 6243, 8743, 2557, 8847, 663, D, M, 6503


Ex Input:
4, ['8693', '6859', '8605', 'L', '2065', 'o', 'U', 'X', 'x', '3977']

Ex Output:

8693, 6859, 8605, L, 2065, o