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: 3, ['161', 'Z', '5715', '9755', '2855', 'P']

Output: 161, Z, 5715


Input: Consider Input: 2, ['5647', '6833', 'V', '2973', '2431', 'e', 'S', '5009', 'G', 'f', 'n', 'I', '9779', '845', 'a', 'e', '2877', '9285', '6049', 'J', 'Z']

Output: 5647, 6833, V, 2973, 2431, e, S, 5009, G, f, n, I, 9779, 845, a, e, 2877, 9285, 6049


Input: Consider Input: 8, ['4473', 'y', 'k', 'g', '6453', 'W', '1105', 'Q', '8551', '5659', '1343', 'B', 'Q', '4807', '5007', '5787', '6861', '9397', '7293']


Output: 4473, y, k, g, 6453, W, 1105, Q, 8551, 5659, 1343