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: 11, ['L', 'u', '2683', '1891', 'F', 'Z', '1443', 'h', 'n', 'L', 'X', '2321', '6451', 'N', 'e', 'H', 'P', '6171', 'P', '929', 'i', '9873', '1097', 'z', '5943', '427', 'R', '175']

SOLUTION: L, u, 2683, 1891, F, Z, 1443, h, n, L, X, 2321, 6451, N, e, H, P

PROBLEM: 5, ['845', 'w', 'b', 'M', '8983', '1591', 'n', 'i', '9817', '1397', '5085', 'p', '503', 'o', '953', '3705', 'D']

SOLUTION: 845, w, b, M, 8983, 1591, n, i, 9817, 1397, 5085, p

PROBLEM: 4, ['5211', 'f', '611', '9473', '6183', '5731', 's', 'x', 'd', 'k', 'h', '7147', '699', 'k', '7265', '3901', 'G', '6983', 'n', 'a', 'R', '3665', 'Z', '7481', 'o', 'S', 'W', 'e', '243', '2601']

SOLUTION:
5211, f, 611, 9473, 6183, 5731, s, x, d, k, h, 7147, 699, k, 7265, 3901, G, 6983, n, a, R, 3665, Z, 7481, o, S