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: 6, ['909', '9935', '8651', '6685', '8645', '1675', 'g', 'L', 'f', 'T', '5367', 'k', 'M', '5485', 'j', 'z', 'U', 'Y', '1345', 'I', 'o', '623', '7885', '6679', 'y', '1103']

Output: 909, 9935, 8651, 6685, 8645, 1675, g, L, f, T, 5367, k, M, 5485, j, z, U, Y, 1345, I


Input: Consider Input: 7, ['F', 'u', '227', 'L', 'n', 'L', '5451', '6695', '3789', '4127', '2377', 'd', 'e', '7091', 'R', '4871', '6359', 'j', '8397', '8415', 'S', '8009', '2493', 'B', '3237', 'i']

Output: F, u, 227, L, n, L, 5451, 6695, 3789, 4127, 2377, d, e, 7091, R, 4871, 6359, j, 8397


Input: Consider Input: 5, ['3505', '6153', 'a', 'd', '843', 'r', '1157', 's', '6369', '9751', '7977', '5847', '3883', 'u', 'w', 'W', '2943', 'p', 't', 'X', '9727', '4271', 'W']


Output: 3505, 6153, a, d, 843, r, 1157, s, 6369, 9751, 7977, 5847, 3883, u, w, W, 2943, p