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: 10, ['b', 'x', '7977', 'W', '1709', '9149', 'F', '375', '6819', 'c', '6487', 'W', '7829', '4627', 'f', 'k', '5761', 'u', '4451', '7011', 'v', 'C', 'K', 'n', '41', '7439', 'h', 'u']

SOLUTION: b, x, 7977, W, 1709, 9149, F, 375, 6819, c, 6487, W, 7829, 4627, f, k, 5761, u

PROBLEM: 1, ['c', '8843', 'R', '7857', '8439', 'c', 'a', 'S', '75', 'S', '6095', 'S', '4857', 'U', 's', 'T', 'b', '8079', '9635']

SOLUTION: c, 8843, R, 7857, 8439, c, a, S, 75, S, 6095, S, 4857, U, s, T, b, 8079

PROBLEM: 4, ['s', '7473', '2807', '6051', 'r', '2551', 'G', '513', '1581', '6965', '2539', 'Z', 'r', 'D', 'Y', '7815', 'G', '4951', 'w', 'Y', 'n', '1241', 'G', '7071', '8743', '5163', 'M', '3891', '7885', '163']

SOLUTION:
s, 7473, 2807, 6051, r, 2551, G, 513, 1581, 6965, 2539, Z, r, D, Y, 7815, G, 4951, w, Y, n, 1241, G, 7071, 8743, 5163