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: 4, ['9837', '9419', 'D', '1877', 'Q', '2375', '1141', 'i', 'x']

SOLUTION: 9837, 9419, D, 1877, Q

PROBLEM: 4, ['5769', 'b', 'M', 'k', '4995', '7871', 'n', '3539', '9677', '7925', 'N', 'i', 'v', 'u', '6949']

SOLUTION:
5769, b, M, k, 4995, 7871, n, 3539, 9677, 7925, N