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.

1, ['3541', 'c', '7535', '7105', '5225']
3541, c, 7535, 7105

11, ['7021', 'w', 'I', '2123', '5935', 'y', 'l', '2351', '3207', '9613', '963', '8925', '9673', 'X', 'z', 'X', 'K', 'w', '2433', 'O', '1495', 'Z', '957', 'R', 'l', '8745', '5553', 'R']
7021, w, I, 2123, 5935, y, l, 2351, 3207, 9613, 963, 8925, 9673, X, z, X, K

3, ['j', '607', 'I', '9265', '4157', 'K', '467', '7177', 't', 'm', 'y', 'E', '2549', 'L', 'H', '8673', 'S', '6385', 'O', '2457', '4277', 'l', '5211', 'l', '3801', 't', 'l', '6365']

j, 607, I, 9265, 4157, K, 467, 7177, t, m, y, E, 2549, L, H, 8673, S, 6385, O, 2457, 4277, l, 5211, l, 3801