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: 6, ['6273', '5485', '2783', '577', 'n', 'P', 'z', '6023', 'b', '2017', 'w', 'C', '1521', 't']

SOLUTION: 6273, 5485, 2783, 577, n, P, z, 6023

PROBLEM: 2, ['4863', '8417', 'F', '9565', 's', 'O', 'V', 'F', 'L', '9005', 's', 'A', '933', '7437', '881']

SOLUTION:
4863, 8417, F, 9565, s, O, V, F, L, 9005, s, A, 933