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: 1, ['2847', 'w', 'E', '4291', '9755', '491', '2807', '3995', '5677', '7395', '9175', 't', '9529']

SOLUTION: 2847, w, E, 4291, 9755, 491, 2807, 3995, 5677, 7395, 9175, t

PROBLEM: 6, ['6381', 'u', 'd', '7355', 't', 'X', 'n', 'S', 's', 'n', '3703', '6983', '3767', 'm', 'z']

SOLUTION: 6381, u, d, 7355, t, X, n, S, s

PROBLEM: 9, ['f', 'u', 'D', 'H', '3761', 'K', '4979', 'Q', 'z', '9793', '3515', '8157', '729', 'v', 'D', '1967', '6727', '6801', 'p', 'I', 'v', 'H', 'Z', 'f', 'N', '1135']

SOLUTION:
f, u, D, H, 3761, K, 4979, Q, z, 9793, 3515, 8157, 729, v, D, 1967, 6727