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:
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:
2, ['r', '7699', 's', 'c', '9657']

Ex Output:
r, 7699, s


Ex Input:
1, ['R', 'I', '2223', '9461', 'k', 'a', '1471', 'n', '7587', 'f', 'm', 's']

Ex Output:

R, I, 2223, 9461, k, a, 1471, n, 7587, f, m