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: 6, ['3677', '7083', 'F', 'y', '9257', 'c', 'J', '8095', '8747', '7145', 'D', '1779', '7223', 'W', '177', '1635', '2055', 'z', 'O', 'M', 'z', 'I', 'A', '1809', '1629', 'j', 'j', 'e']

SOLUTION: 3677, 7083, F, y, 9257, c, J, 8095, 8747, 7145, D, 1779, 7223, W, 177, 1635, 2055, z, O, M, z, I

PROBLEM: 10, ['d', 'c', 'Z', 'b', '4185', 'Y', '3381', 'd', '4167', 'J', '539', 'h', 'Q', '165', '8025', 'M', '6337', 'z', 'k', 'A', 'E', '9729', '7747', '7387', 'S', 'U']

SOLUTION: d, c, Z, b, 4185, Y, 3381, d, 4167, J, 539, h, Q, 165, 8025, M

PROBLEM: 6, ['7761', '4943', 'O', '5067', 'n', 'M', 'o', 'c', '4131', '8403', '8567', '7195', '7123', '5667', 'G', '4851', 'T', '4059', 'M', '2101', 'h', 'T', '6923', 'K', '3007', '5413', '6897', 'd', 'W']

SOLUTION:
7761, 4943, O, 5067, n, M, o, c, 4131, 8403, 8567, 7195, 7123, 5667, G, 4851, T, 4059, M, 2101, h, T, 6923