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: 2, ['A', 'w', '4031', '5175', 'H', '4627', '8031', 'Z', 'u', '5489', '1145', '1173', '5959', '5695', 'b', '9535', '8215', 'x', 'U', 'V', '773']

SOLUTION: A, w, 4031, 5175, H, 4627, 8031, Z, u, 5489, 1145, 1173, 5959, 5695, b, 9535, 8215, x, 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: 14, ['p', 'P', 's', '9261', '3025', '5455', '7485', '7315', '4387', 'W', '731', 'x', '2753', '9581', 'a', 'b', '2555', '9831', '5195', 'v', 'z', 'g', '3391', 'E', 'm', 'M', 'R', '1951', 'j']

SOLUTION:
p, P, s, 9261, 3025, 5455, 7485, 7315, 4387, W, 731, x, 2753, 9581, a