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: 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


Input: Consider Input: 3, ['3739', '5937', '753', '9229', 'N', '1723', 'B', '5603', 'm', '8339', 'I']

Output: 3739, 5937, 753, 9229, N, 1723, B, 5603


Input: Consider Input: 8, ['G', 'h', 'z', '6759', '13', 'h', 'H', '4885', '3281', 'u', '7735', '5169', 'c', 'V', 'M', '9177', '9957', '4405', 'f']


Output: G, h, z, 6759, 13, h, H, 4885, 3281, u, 7735