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.

7, ['N', 'y', '1729', 'l', '739', 'V', '6443', '6063', 'M', '153', 'Z', '1741', '167', 'K', 'Z', '1427', '1775', 'A', '969', 'a', '2945']
N, y, 1729, l, 739, V, 6443, 6063, M, 153, Z, 1741, 167, K

2, ['D', '4719', 'E', 'B', 'Z', 'W', 'e', '7083', '167', 'p', 'z', '3405', 'I', 'g', '961', '2493', 'g', '7295', 'p', '6419', 'b', '2089']
D, 4719, E, B, Z, W, e, 7083, 167, p, z, 3405, I, g, 961, 2493, g, 7295, p, 6419

10, ['W', '4041', '6977', '3933', 'f', '8869', 'W', '9933', 'd', 'y', 'X', '9333', 't', '6233', 'S', 'b', '1077', 'g', '8301', '8327', '8453', 'g', '4103', '1539', 'I', '1649']

W, 4041, 6977, 3933, f, 8869, W, 9933, d, y, X, 9333, t, 6233, S, b