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, ['8423', '8687']

SOLUTION: 8423

PROBLEM: 3, ['8149', 'k', '6879', '8759', 'V', 'B', '6905', '6223', '1669', 'o', 'V', 'Z', '7441', '5477', '2353']

SOLUTION: 8149, k, 6879, 8759, V, B, 6905, 6223, 1669, o, V, Z

PROBLEM: 9, ['4575', 'B', 'Q', '6393', '1245', 'I', 'n', 'K', '8033', 'Q', 'W', '6861', 'F', '753', '4009', 'l', '3869', '5129']

SOLUTION:
4575, B, Q, 6393, 1245, I, n, K, 8033