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.

Example Input: 6, ['3805', '1383', '8371', 'k', '7623', '8749', '1679', 'A', 'K', 'Z', 'd', 'M', '5925', 'S', '631', 'I', '9365', '1319', '4567', 'z', '3507']
Example Output: 3805, 1383, 8371, k, 7623, 8749, 1679, A, K, Z, d, M, 5925, S, 631

Example Input: 6, ['6381', 'u', 'd', '7355', 't', 'X', 'n', 'S', 's', 'n', '3703', '6983', '3767', 'm', 'z']
Example Output: 6381, u, d, 7355, t, X, n, S, s

Example Input: 7, ['d', '8427', '1515', '4433', '1811', 'A', '3603', 'O', '5849', 'N', '6327', 'R', 'u', '4013', '6047', 'b', 'A', 'M']
Example Output:
d, 8427, 1515, 4433, 1811, A, 3603, O, 5849, N, 6327