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: 1, ['8241', 'Q', 'm', '1117', 'M', '7055', 'R', 'E', 's', '1745', 'g', 'V', '9185', '8203', 'Y', 'N', 'F', '2225', '1859', '4107', '5543', '37', 'X', '3451', '2265', '9289', '5619', '5851', 'h', '8059']

SOLUTION: 8241, Q, m, 1117, M, 7055, R, E, s, 1745, g, V, 9185, 8203, Y, N, F, 2225, 1859, 4107, 5543, 37, X, 3451, 2265, 9289, 5619, 5851, h

PROBLEM: 4, ['c', '8925', 'H', 'r', 'b', 'c', '4701', 'W', 'u', 'O', '2557', '1995', '6013', 'A']

SOLUTION: c, 8925, H, r, b, c, 4701, W, u, O

PROBLEM: 2, ['3617', '6547', '1325', '35', '8763', '1407', 'K', '4719', '4165', '9077', 'g', '6209', 'd', '2651', '769', '9627', '2927', '6675', '2497', '63', 'c', '7833', '2693', '5623', '8943', '1371']

SOLUTION:
3617, 6547, 1325, 35, 8763, 1407, K, 4719, 4165, 9077, g, 6209, d, 2651, 769, 9627, 2927, 6675, 2497, 63, c, 7833, 2693, 5623