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: 2, ['D', '4719', 'E', 'B', 'Z', 'W', 'e', '7083', '167', 'p', 'z', '3405', 'I', 'g', '961', '2493', 'g', '7295', 'p', '6419', 'b', '2089']

SOLUTION: D, 4719, E, B, Z, W, e, 7083, 167, p, z, 3405, I, g, 961, 2493, g, 7295, p, 6419

PROBLEM: 11, ['h', 'c', 'H', 'J', 'Z', '4545', '4481', '53', 'W', '5899', 'H', 'l', 'L', 'C', 'Q', 'E', '3765', '1885', '517', '8723', '6651', '7353', 'q', 'w', 'F', '9487', 'Z']

SOLUTION: h, c, H, J, Z, 4545, 4481, 53, W, 5899, H, l, L, C, Q, E

PROBLEM: 6, ['6715', 'T', '5693', 'O', '8823', 'v', '4767', '5179', 'Z', 'B', '1843', '2311', '5945', '7377', 'u', 'S', 'j', 'y', '6551', 'u', '2641', 'r', 'i', '457']

SOLUTION:
6715, T, 5693, O, 8823, v, 4767, 5179, Z, B, 1843, 2311, 5945, 7377, u, S, j, y