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: 1, ['413', '8413', 'C', 't', '8899', 'U', '6869', '991', 'C', '7051', 'A', '1827', '3915', 'k', '6255', 'j', '1101', 'L', 'z']

Output: 413, 8413, C, t, 8899, U, 6869, 991, C, 7051, A, 1827, 3915, k, 6255, j, 1101, L


Input: Consider Input: 8, ['6085', '6315', 'h', 'K', 'R', '1', '8471', '321', 'p', '2565', '8325', 'E', '4567', 'e', 'b', '2221', 'T', '5603', '2947']

Output: 6085, 6315, h, K, R, 1, 8471, 321, p, 2565, 8325


Input: Consider Input: 8, ['h', '2773', '3067', 'O', 'T', '2953', 'b', '641', 'r', '2979', '3811', '6267', '913', 'Q', 'p', '1541', 'w', 'a', '2237', 'j']


Output: h, 2773, 3067, O, T, 2953, b, 641, r, 2979, 3811, 6267