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: 3, ['Z', 't', '8689', 'j', '7065', 'g', 'i', '5261', '7243', 'z', 'Q', 'V', '9083', 'L', 'X', '4439']
Example Output: Z, t, 8689, j, 7065, g, i, 5261, 7243, z, Q, V, 9083

Example Input: 2, ['4201', 'a', '3801', 'z']
Example Output: 4201, a

Example Input: 3, ['13', 'F', '789', 'C', 'o', '2931', '2841', '1321', 'L', '6077', '815', 'j', 'h']
Example Output:
13, F, 789, C, o, 2931, 2841, 1321, L, 6077