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: 1, ['n', 'y', 'k', 'F', '55']

SOLUTION: n, y, k, F

PROBLEM: 10, ['x', '6869', '9215', '1815', '7867', 'I', '4237', '6971', 'Y', 'p', '6951', '3907', '8869', '5239', '5591', '6357', 'r', 'F', 'f', '4189', 'p', 'm', 'r', '163', '7793']

SOLUTION: x, 6869, 9215, 1815, 7867, I, 4237, 6971, Y, p, 6951, 3907, 8869, 5239, 5591

PROBLEM: 3, ['A', '447', 'X', 'f', '1707', 'R', '4439', '939', 'x', 'D', '8987', '631', '2583', '2335', '1963', '223']

SOLUTION:
A, 447, X, f, 1707, R, 4439, 939, x, D, 8987, 631, 2583