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:
4, ['s', 'f', '4839', '1155', '7639', 'w', '2947', 'R', 'h']

Ex Output:
s, f, 4839, 1155, 7639


Ex Input:
6, ['K', '3083', '3121', '2705', 'z', 'm', '3911', 'L', '3587', '9209', 'B', 'I', '4555', '2721', '7415', '9423', 'q', 'D', 'K', 'E', '5119', '7613', 'J', 'R']

Ex Output:
K, 3083, 3121, 2705, z, m, 3911, L, 3587, 9209, B, I, 4555, 2721, 7415, 9423, q, D


Ex Input:
5, ['x', 'h', 's', '1127', '2441', '8469', '2567', 'D', 'v', 'h', 'K', '2417', 'z', 't', '3311', '5737', 'x', 'X', 'a', 's', '5817', 'h', '1187']

Ex Output:

x, h, s, 1127, 2441, 8469, 2567, D, v, h, K, 2417, z, t, 3311, 5737, x, X