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: 2, ['3149', '6791', 't', 'q', 'Q']
Example Output: 3149, 6791, t

Example Input: 5, ['2567', 'm', '8275', '3647', 'n', 'F', 'X', 'v', 'J', '1841', 'A', '5037', 'c', '773', '1763', 'A', 'X', '5883', 'D', 'A', '3925']
Example Output: 2567, m, 8275, 3647, n, F, X, v, J, 1841, A, 5037, c, 773, 1763, A

Example Input: 7, ['e', '219', 'm', '3719', '9909', '8331', '457', '7659', '6859', 'J', 'Z', '5693', '3703', '419', '3909', 'g', '7171', 'P', '1155', 'G', 'q', 'L', 'M', 'E', 'a', 'f']
Example Output:
e, 219, m, 3719, 9909, 8331, 457, 7659, 6859, J, Z, 5693, 3703, 419, 3909, g, 7171, P, 1155