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: 3, ['9869', 'k', '3023', '4437', 'h', '877', 'y']

SOLUTION: 9869, k, 3023, 4437

PROBLEM: 13, ['V', 'b', '175', 'k', '9191', 'F', 'Z', '9617', 'q', '559', 'M', '4991', 'Z', '8011', '5101', '8761', 'w', 'V', '6435', 'U', '7953', '7223', 'y', 'o', 't', '2275', 'W', '6797', '4039', '5131']

SOLUTION: V, b, 175, k, 9191, F, Z, 9617, q, 559, M, 4991, Z, 8011, 5101, 8761, w

PROBLEM: 7, ['W', '345', 'B', '7799', 'Q', '3117', 'S', '6385', 'j', 'r', '9313', 'f', '5841', '9429', '8003', 'v', 'O', '7329', '4075', '8527', 'h']

SOLUTION:
W, 345, B, 7799, Q, 3117, S, 6385, j, r, 9313, f, 5841, 9429