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: 2, ['b', '4015', 'y', '4537', 'f']

SOLUTION: b, 4015, y

PROBLEM: 1, ['n', 'y', 'k', 'F', '55']

SOLUTION: n, y, k, F

PROBLEM: 5, ['h', 'w', 'K', 'H', '8039', '9033', 'h', '1223', 'B', 'Z', '941', '5787', '7847', '8413', 'Y', '6839', 'u', '3311', '2093', 'v', 'u', '6467', 'V', '1275', 'p', 'H', 'x', '1851', '3583']

SOLUTION:
h, w, K, H, 8039, 9033, h, 1223, B, Z, 941, 5787, 7847, 8413, Y, 6839, u, 3311, 2093, v, u, 6467, V, 1275