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: 7, ['F', 'u', '227', 'L', 'n', 'L', '5451', '6695', '3789', '4127', '2377', 'd', 'e', '7091', 'R', '4871', '6359', 'j', '8397', '8415', 'S', '8009', '2493', 'B', '3237', 'i']

SOLUTION: F, u, 227, L, n, L, 5451, 6695, 3789, 4127, 2377, d, e, 7091, R, 4871, 6359, j, 8397

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: 7, ['5269', '9115', 'C', '4739', '1549', 'b', '8525', '8553', '9079', 'u', '2009', 'o', '4619', 'O', '9353', 'd', 'T', '3019', 'h', 'z', '6799', '5865', '5597', 'z', 'v', 'o', '4151']

SOLUTION:
5269, 9115, C, 4739, 1549, b, 8525, 8553, 9079, u, 2009, o, 4619, O, 9353, d, T, 3019, h, z