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, ['c', '8925', 'H', 'r', 'b', 'c', '4701', 'W', 'u', 'O', '2557', '1995', '6013', 'A']

SOLUTION: c, 8925, H, r, b, c, 4701, W, u, O

PROBLEM: 10, ['3881', 'g', 'Z', 'G', 'a', '7571', '6761', 'i', 'X', '9349', '4007', 'i', 'W', '2989', 'W', 'B', '6747', 'S', 'p', 'O', 'U', '5469']

SOLUTION: 3881, g, Z, G, a, 7571, 6761, i, X, 9349, 4007, i

PROBLEM: 5, ['4697', 'a', 'j', 'Y', 'Z', '33', '5955', '3271', '205', 'P', 'v', '6747', '5181', '6739', 'B', 'Q', 'u', 'Q']

SOLUTION:
4697, a, j, Y, Z, 33, 5955, 3271, 205, P, v, 6747, 5181