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:
1, ['o', 'l', '6453', '2359', '4999', 'b', '5509', 'k', 'K', '1805', 'l', 'U', '9413', '6415', '7847', '6857', 'C', '5703', 'E', '8363']

Ex Output:
o, l, 6453, 2359, 4999, b, 5509, k, K, 1805, l, U, 9413, 6415, 7847, 6857, C, 5703, E


Ex Input:
9, ['7051', '8603', '331', '2783', 'I', 'T', 'X', 'h', '3681', '3413', 'n', 'g', 'i', '1677', 'I', 'y', 'e', '9677', 'r', 'h', '4037', 'l']

Ex Output:

7051, 8603, 331, 2783, I, T, X, h, 3681, 3413, n, g, i