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.

Input: Consider Input: 8, ['T', 'F', 'C', '3743', 'G', '1843', '2187', '5277', 'r', 'h', '23', 'w', 'A', '8117', 'd', 's', 'x', '3129', '2067', '2377', '2859']

Output: T, F, C, 3743, G, 1843, 2187, 5277, r, h, 23, w, A


Input: Consider Input: 2, ['2379', '447', '8905', '9689', '5979', '3119', 'j']

Output: 2379, 447, 8905, 9689, 5979


Input: Consider Input: 5, ['6661', '1789', 'K', 'y', '1219', 'r', 'X', '1987', 'I', 'k', 'T', 'Q', 'X', '5617', 'A']


Output: 6661, 1789, K, y, 1219, r, X, 1987, I, k