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: 8, ['4679', '6723', '7389', 'S', '2909', '5943', '8189', '5923', 'G', '2389', 't', 'W', '6629', '9685', 'W', '4515', '3555', 'K', 'n']

SOLUTION: 4679, 6723, 7389, S, 2909, 5943, 8189, 5923, G, 2389, t

PROBLEM: 2, ['5647', '6833', 'V', '2973', '2431', 'e', 'S', '5009', 'G', 'f', 'n', 'I', '9779', '845', 'a', 'e', '2877', '9285', '6049', 'J', 'Z']

SOLUTION: 5647, 6833, V, 2973, 2431, e, S, 5009, G, f, n, I, 9779, 845, a, e, 2877, 9285, 6049

PROBLEM: 1, ['k', 'K', 'A', '863', 'o', '4983', 'X', 'D', 'w', 'e', 'm', '9457', '3495', '5455', '377', 'v', '4113', '6061', '5447', '2299', 's', '683', 'n', '2689']

SOLUTION:
k, K, A, 863, o, 4983, X, D, w, e, m, 9457, 3495, 5455, 377, v, 4113, 6061, 5447, 2299, s, 683, n