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, ['V', '4605', '8081', '3723', 'y', '3045', 'P', '1013', '5441']

SOLUTION: V, 4605, 8081, 3723, y, 3045

PROBLEM: 6, ['p', 'z', 'n', '5759', 'i', '6115', '2605', 'i', 'O', '8597', 'G', 'A', 'd', 's', '1271', 'F', '6911']

SOLUTION: p, z, n, 5759, i, 6115, 2605, i, O, 8597, G

PROBLEM: 4, ['x', '4755', '9809', '8343', '9219', '547', 'V', '1583', 'O', 'r', '7949', 'H', 's', '8145', '4231', '9395', 's', 'F', 'b', 'O', '5543', '1603', 'i', '277', 'M', '6629', '9339', '7153', '7807', 'z']

SOLUTION:
x, 4755, 9809, 8343, 9219, 547, V, 1583, O, r, 7949, H, s, 8145, 4231, 9395, s, F, b, O, 5543, 1603, i, 277, M, 6629