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, ['7083', 'W', 'U', 'W', '9063', 'K', '483', '8061', '9959', '8881', 'F', 'Q', 'I', '1765', 'o', '8883', 'b', '7093', 'Z', 'n']

SOLUTION: 7083, W, U, W, 9063, K, 483, 8061, 9959, 8881, F, Q, I

PROBLEM: 6, ['1885', 'x', '2593', 'b', '2775', 'W', '2521', '793', 'r', '6917', '1673', '1963', 'w', 'P', 'O', '3655', '319', '6861', 'l', 'g', '9857', '2095', '1275', 'j', '9523']

SOLUTION: 1885, x, 2593, b, 2775, W, 2521, 793, r, 6917, 1673, 1963, w, P, O, 3655, 319, 6861, l

PROBLEM: 3, ['309', '5931', '9727', '9323', '5997', '9503', 'b', 'X', '2897', '9587', '6973', '4443', '1859', '2733', '3071']

SOLUTION:
309, 5931, 9727, 9323, 5997, 9503, b, X, 2897, 9587, 6973, 4443