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: 4, ['971', '3213', 'E', 'o', 'x', 'h', '5493', '4229']

SOLUTION: 971, 3213, E, o

PROBLEM: 5, ['3369', '5129', 'a', 'c', 'D', 'm', '4411', 'C', '1015', 'H', 'Q', '4689', '2059', '1217', 'O', '553', 'D', '451', '5059', '1113', 'O', '7593', '6663']

SOLUTION:
3369, 5129, a, c, D, m, 4411, C, 1015, H, Q, 4689, 2059, 1217, O, 553, D, 451