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, ['4773', 'K', '4689', 'L', 'b', 'Y', '911', '5037', 'i', 'x', 'i', '1881', '9697', '4575', 'e', '7425', 'k', 'X', '1287', '5939', '4907', '9289', 'm', '269', 'w', '641', '8981']

SOLUTION: 4773, K, 4689, L, b, Y, 911, 5037, i, x, i, 1881, 9697, 4575, e, 7425, k, X, 1287, 5939, 4907, 9289, m

PROBLEM: 1, ['8719', '2065', '6543', '1651', '7037', 'v', '3919']

SOLUTION: 8719, 2065, 6543, 1651, 7037, v

PROBLEM: 4, ['P', '4285', 'A', 'w', 'K', 'b', 'L', 'T', '311', '7475', '3139', '4285', 'J', '8781', 'B', 'o', 'Z', 't', 'e', 'z', 's']

SOLUTION:
P, 4285, A, w, K, b, L, T, 311, 7475, 3139, 4285, J, 8781, B, o, Z