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: 2, ['t', '51', '4787', '2989', 'o', 'J', '7547', '5727', '5705', 'y', '9805']

Output: t, 51, 4787, 2989, o, J, 7547, 5727, 5705


Input: Consider Input: 2, ['1831', '8397', '415', 'j', 'B', 'a', 'w', 'i', '1191', 'z', 'T', '6749', 'p', '2957', 'X', '6813', 'u', '9359', '7259', '7483', 'W', 'v', '9933', 'e', '3369', '9953', '6501', 'Y', '6207']

Output: 1831, 8397, 415, j, B, a, w, i, 1191, z, T, 6749, p, 2957, X, 6813, u, 9359, 7259, 7483, W, v, 9933, e, 3369, 9953, 6501


Input: Consider Input: 8, ['5001', 'C', '7513', 'R', 't', '3445', 'I', 'L', '4937', '9631', 'T', '4437', 't', 'V', 'v', '2061', '5185', 'H', 'K', 'n', '717', '8425', 'L']


Output: 5001, C, 7513, R, t, 3445, I, L, 4937, 9631, T, 4437, t, V, v