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, ['F', 'k', '5745', 'T', 'p', '1283', 'A', '3837', 'y', 'j', '4083', 'm', '879', '1907', '2417', 'Q', '5303', '8327', 'd', '8699', '4873', '4291']

SOLUTION: F, k, 5745, T, p, 1283, A, 3837, y, j, 4083, m, 879, 1907, 2417, Q, 5303, 8327

PROBLEM: 4, ['7539', '5355', '5163', '393', 'U', '9923', 'E', 'H', 'A', 'K', 'o', 'N', 'Z', 'c']

SOLUTION: 7539, 5355, 5163, 393, U, 9923, E, H, A, K

PROBLEM: 2, ['v', 'J', 'l', 'o', '2787', 'n', '3739', 'W', 'c', '9865', 't', 'L', 't', '8791', '2755', 't', '1767', 'P', 'b', 'v', '8425']

SOLUTION:
v, J, l, o, 2787, n, 3739, W, c, 9865, t, L, t, 8791, 2755, t, 1767, P, b