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: 5, ['j', 'e', '6673', 'O', '8997', 'e', 'G', 'J', 'm', 'A', 'c', '6761', '1443', '6789', 'i', 'q', 'u', 'X', '1785']

SOLUTION: j, e, 6673, O, 8997, e, G, J, m, A, c, 6761, 1443, 6789

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: 3, ['W', 'V', '5287', 'U', 'h', '1091', '1163', '3195', 'S', 'W']

SOLUTION:
W, V, 5287, U, h, 1091, 1163

