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, ['k', '8415', '5017', 'B', 'j']

Output: k, 8415, 5017


Input: Consider Input: 3, ['8479', 'I', 'b', '3759', 'P', '4853']

Output: 8479, I, b


Input: Consider Input: 7, ['3523', '239', '5893', 'Z', '9285', 'N', 'M', 'w', 'G', '3083', 'Z', 'q', '6791', '1999', 'v', '2529', 's', '4737', 'm', '7381', 'F', '2775', '3769', 'z', '4499', 'J', '8091']


Output: 3523, 239, 5893, Z, 9285, N, M, w, G, 3083, Z, q, 6791, 1999, v, 2529, s, 4737, m, 7381