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, ['u', '8921', '7805', '1995', '5493', 'D', 'A', '9687']

SOLUTION: u, 8921, 7805, 1995

PROBLEM: 4, ['8667', 'w', 'M', '3117', 'r', '7759', 'B', 't', 'r', '7625', 'H', 'Y', '2613', '3595']

SOLUTION: 8667, w, M, 3117, r, 7759, B, t, r, 7625

PROBLEM: 3, ['E', '8599', 'z', 'Z', 'y', 'q', 'B', 'a', 'f', '9777', '6201', '2361']

SOLUTION:
E, 8599, z, Z, y, q, B, a, f