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: 4, ['c', '8925', 'H', 'r', 'b', 'c', '4701', 'W', 'u', 'O', '2557', '1995', '6013', 'A']

SOLUTION: c, 8925, H, r, b, c, 4701, W, u, O

PROBLEM: 2, ['9977', '1897', '9039', 'W', '3709']

SOLUTION: 9977, 1897, 9039

PROBLEM: 1, ['l', 'W', '5565']

SOLUTION:
l, W