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: 6, ['7335', 'z', 'q', '1643', '8317', 't', 't', '8503', 'b', 'c', '6825', '6045', 'h', '2005', 'f', 'W', '7821']

Output: 7335, z, q, 1643, 8317, t, t, 8503, b, c, 6825


Input: Consider Input: 2, ['T', 'D', '6925', 'W', 'J', 'Q', '1373', '3577', '6399', 'd', '281', '6631', '2847']

Output: T, D, 6925, W, J, Q, 1373, 3577, 6399, d, 281


Input: Consider Input: 4, ['4697', '5345', 'F', 'u', '5157', '3955', 'r', 'E', '3005']


Output: 4697, 5345, F, u, 5157