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: 7, ['6359', 'e', 'm', '9405', 'G', '1111', '7629', 'j', '1499', 'a', '683', '2853', 'j', 'l', 'g', '8575', '6289', 'B', '5161', '2487', 'z', 'J', 'v', 'K']

SOLUTION: 6359, e, m, 9405, G, 1111, 7629, j, 1499, a, 683, 2853, j, l, g, 8575, 6289

PROBLEM: 5, ['G', '1303', '4847', '8601', '1243', 'o', '4001', 'Z', '2907', 'b', 'M', 'F', '6585', 'Q', '2829', '4275', '4821', 'g', 'h', 'o', 'C', '1059', 'L', '9531', '3303']

SOLUTION: G, 1303, 4847, 8601, 1243, o, 4001, Z, 2907, b, M, F, 6585, Q, 2829, 4275, 4821, g, h, o

PROBLEM: 1, ['X', '7371', '985', 'S', '7917', '8089', 'd', '4943', '1069', '3507', '8755', '125', 'c', 'h', 'S', 'H', '5053', '5681', '2401', 'E', 'G', '5387']

SOLUTION:
X, 7371, 985, S, 7917, 8089, d, 4943, 1069, 3507, 8755, 125, c, h, S, H, 5053, 5681, 2401, E, G