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, ['E', '2953', 't', 'M', '7543', 'X', 'J', 'N', 'N', 'J', 'w', 'c', '2417', 'p', '9453', 'O', '3625', 't', 't', 'a', 'v', 'N', 'U', 's']
E, 2953, t, M, 7543, X, J, N, N, J, w, c, 2417, p, 9453, O, 3625

7, ['t', 'x', 'A', 't', 'j', 'E', '1949', '57', '9477', 'W', 'h', 'Q', '6787', '8505', '1725', 't', '4437', 'x', '6937', 'F', 'V', '6427', '57', '6387', 'Y', '9933', '3067', '7327', 'n']
t, x, A, t, j, E, 1949, 57, 9477, W, h, Q, 6787, 8505, 1725, t, 4437, x, 6937, F, V, 6427

4, ['3695', '1715', 'J', '3969', 'x', 'm', 'Z', 'p', '8617', 'I', '9639', '4557', 'N', 'Q', 't', 'b', '1383', 'b', 'r', 'q', 'e', 'e', 'B', '8587', '9501', '7499', 'B', '7439', 'G', '5931']

3695, 1715, J, 3969, x, m, Z, p, 8617, I, 9639, 4557, N, Q, t, b, 1383, b, r, q, e, e, B, 8587, 9501, 7499