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: 2, ['z', 'R', '9925', '7869', 'p', '4945']

Output: z, R, 9925, 7869


Input: Consider Input: 3, ['Y', '3499', '2787', 'C', 'U', '4895']

Output: Y, 3499, 2787


Input: Consider Input: 2, ['19', 'T', '8433', 'P', '8407', 'j', '7989', '1911', '3637', '1147', 'C', '1755', '5831', 'W']


Output: 19, T, 8433, P, 8407, j, 7989, 1911, 3637, 1147, C, 1755