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: 8, ['3915', '1677', 'O', '6549', '4947', '3511', 'X', '391', 'e', 'y', 'u', 'E', '1981', '9039', 'U', '8203', '4305', 'Y', 'l', 'S']

SOLUTION: 3915, 1677, O, 6549, 4947, 3511, X, 391, e, y, u, E

PROBLEM: 5, ['7043', '7447', 'r', 'u', '2817', '2279', 'O', '3115', '4655', '3245', '3785']

SOLUTION: 7043, 7447, r, u, 2817, 2279

PROBLEM: 3, ['m', '7177', '3225', '1305', '6517', '5181', '8193', '3535', 'O', 'Z', '4397', '4065', 'f', '301', '323', '8693', 'W', 'q', 'D', 'H', '1687', '7111', 'A', '7429', 'z', 'Z']

SOLUTION:
m, 7177, 3225, 1305, 6517, 5181, 8193, 3535, O, Z, 4397, 4065, f, 301, 323, 8693, W, q, D, H, 1687, 7111, A