TASK DEFINITION: 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.
PROBLEM: 6, ['3805', '1383', '8371', 'k', '7623', '8749', '1679', 'A', 'K', 'Z', 'd', 'M', '5925', 'S', '631', 'I', '9365', '1319', '4567', 'z', '3507']

SOLUTION: 3805, 1383, 8371, k, 7623, 8749, 1679, A, K, Z, d, M, 5925, S, 631

PROBLEM: 3, ['n', 'C', '7659', 'Y', 'E', '1203', 'n', 'z', '4509', '8757', 'X', 'E', '6195', 'e', 'c', '3347']

SOLUTION: n, C, 7659, Y, E, 1203, n, z, 4509, 8757, X, E, 6195

PROBLEM: 2, ['4455', '8667', 'F', '7333', '9851', 'R', 'F', 'S', '8125', 'i', 'L', '8089', 'm', '9199', 'z', '2449', '9205', '8395', 'L', 'w', 'C', '779', 't', 'W', '7447', '547']

SOLUTION:
4455, 8667, F, 7333, 9851, R, F, S, 8125, i, L, 8089, m, 9199, z, 2449, 9205, 8395, L, w, C, 779, t, W