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, ['1885', 'x', '2593', 'b', '2775', 'W', '2521', '793', 'r', '6917', '1673', '1963', 'w', 'P', 'O', '3655', '319', '6861', 'l', 'g', '9857', '2095', '1275', 'j', '9523']

Output: 1885, x, 2593, b, 2775, W, 2521, 793, r, 6917, 1673, 1963, w, P, O, 3655, 319, 6861, l

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: 6, ['3733', '8867', '2223', '8423', '9217', '1535', 'Q', '4967', 'E', 'z', 'p', '9419', '5903', '4625', 'J', '8629', 'k']
Output: 3733, 8867, 2223, 8423, 9217, 1535, Q, 4967, E, z, p