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, ['k', '9837', 'A', 'q', '3695', '731', '1449', '3559', '4553', 'J', 'w']

SOLUTION: k, 9837, A, q, 3695, 731, 1449, 3559, 4553, J

PROBLEM: 3, ['V', '4605', '8081', '3723', 'y', '3045', 'P', '1013', '5441']

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

PROBLEM: 6, ['4155', 'y', '4369', 'H', '7199', '1959', '5137', 'P', '2059', 'e', 'U', 'Y', 'o', 'd']

SOLUTION:
4155, y, 4369, H, 7199, 1959, 5137, P