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, ['4785', 'g', '7381', 'J', 'R', 'e', 'N', 'v', '6201', 'Y', 'h', 'e', '7723', 'Y', 'm']

Output: 4785, g, 7381, J, R, e, N, v, 6201, Y, h, e, 7723


Input: Consider Input: 1, ['8423', '8687']

Output: 8423


Input: Consider Input: 9, ['u', '4051', '3701', 'X', '4683', 'l', '7955', 'O', '4095', 'c', 'j', 'A', '6477', '529', '4761', '1117', 'l', 'X', 'h']


Output: u, 4051, 3701, X, 4683, l, 7955, O, 4095, c