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: 4, ['5555', '403', 'a', '7381', 'Q', 'h', '1825', 'e', '9281', '5277', '2639', '8775', '7623']

SOLUTION: 5555, 403, a, 7381, Q, h, 1825, e, 9281

PROBLEM: 1, ['s', 'C', 'B', 'L', 'f']

SOLUTION: s, C, B, L

PROBLEM: 7, ['9367', '219', 'S', '7331', '3153', '3685', 'Y', '7881', 'X', 'm', 'u', '4783', 'l', 'z', '4689', '9431', '233', '6819', '5747', '4599', '3853', 'n', 'x', 'k', 'O', '567', 'N', 's']

SOLUTION:
9367, 219, S, 7331, 3153, 3685, Y, 7881, X, m, u, 4783, l, z, 4689, 9431, 233, 6819, 5747, 4599, 3853