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: 10, ['545', 'j', '1823', '139', '197', '7565', '3227', 'q', '9475', 'N', 'V', 'f', '1819', 'Q', 'T', '5103', '5601', '1843', 'E', 'U', 'B']

Output: 545, j, 1823, 139, 197, 7565, 3227, q, 9475, N, V

Input: Consider Input: 7, ['l', 'G', 'r', '4597', 'd', 'o', '3083', '6629', '125', 'N', 'g', 'N', 'O', '7059', 'A', 'P', 'T', 'c', 'Z', 'I', 'w', 'd', 'T', '6261']

Output: l, G, r, 4597, d, o, 3083, 6629, 125, N, g, N, O, 7059, A, P, T

Input: Consider Input: 5, ['4191', 'w', '3853', 'w', 'Z', 'x', 'R', '533', 'm', '3453', 's', '1679', '4685', '33', 'M', '2983', '6565', '3919', 'C', 'M', 'F', 'a', 'w', '9061', 'x', 'o', 'h', '6881', '2309', '8001']
Output: 4191, w, 3853, w, Z, x, R, 533, m, 3453, s, 1679, 4685, 33, M, 2983, 6565, 3919, C, M, F, a, w, 9061, x