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: 14, ['1353', 'Y', '6075', '7087', '1585', '9445', '6611', 'K', 'R', 'Q', '5053', '2119', 'H', '27', 'Q', '5661', '6193', '6923', 'M', 'E', 'L', 'X', '7085', 'w', '5061', '6093', '3415', '7009', '6893']
Example Output: 1353, Y, 6075, 7087, 1585, 9445, 6611, K, R, Q, 5053, 2119, H, 27, Q

Example Input: 3, ['Y', '3499', '2787', 'C', 'U', '4895']
Example Output: Y, 3499, 2787

Example Input: 3, ['E', '6983', '5893', 'h', '1131', '5579', '7167', 'I', '8669', '1917', 'w', 'm', '3135', '657', 'H', 'U', 'P', 'N', 'u', 'r', '3337', '7149', 'J', 'P', 'J']
Example Output:
E, 6983, 5893, h, 1131, 5579, 7167, I, 8669, 1917, w, m, 3135, 657, H, U, P, N, u, r, 3337, 7149