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, ['1713', 'o', '6397', '4329', 'R', '4123', '5297']

Output: 1713, o, 6397, 4329, R


Input: Consider Input: 4, ['8667', 'w', 'M', '3117', 'r', '7759', 'B', 't', 'r', '7625', 'H', 'Y', '2613', '3595']

Output: 8667, w, M, 3117, r, 7759, B, t, r, 7625


Input: Consider Input: 5, ['285', 'k', 'E', '9745', 'l', 'Z', 'x', '3139', '9237', '7359', '759']


Output: 285, k, E, 9745, l, Z