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, ['7327', 'b', '4557', 'X', '8547', '3751', 'A', '1627', 'f', 'o', '6329', '7437', 'Q', '9847', '1895', 'M', 'y', '7343', 'r', 't', '2359', '1151', 'l']
7327, b, 4557, X, 8547, 3751, A, 1627, f, o, 6329, 7437, Q, 9847, 1895, M, y, 7343, r, t, 2359, 1151

9, ['e', '1509', '2895', '4747', 'i', '7541', '6273', '1271', 'f', '8157', 'h', '3091', '6259', 'a', 'S', 'c', 'S', '7737', 'p', 'T', 'z', '6117', '6627', '9999', '1011', 'l', 'K']
e, 1509, 2895, 4747, i, 7541, 6273, 1271, f, 8157, h, 3091, 6259, a, S, c, S, 7737

6, ['5209', '5115', 'j', '6969', 'w', '175', 'V', 'z', '625', 'p', '6921', 'd', '3869', '6417', '2605', 'X', '5523', '7467', '1549', 'k', '5085', 'X', 'G', 's', '2851', '1629', '1373', 'q']

5209, 5115, j, 6969, w, 175, V, z, 625, p, 6921, d, 3869, 6417, 2605, X, 5523, 7467, 1549, k, 5085, X