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: 1, ['3541', 'c', '7535', '7105', '5225']
Example Output: 3541, c, 7535, 7105

Example Input: 13, ['119', '2643', '5649', '7959', 'R', '9157', 'w', '565', '7629', '525', 'R', 'k', '227', '7923', 'z', 'Y', 'k', '4959', '9617', 'L', '8401', '6595', '9611', 'k', 'V', '3875', 'K', '4965']
Example Output:
119, 2643, 5649, 7959, R, 9157, w, 565, 7629, 525, R, k, 227, 7923, z