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: 7, ['S', 'N', 'd', 'b', '2207', 's', '4723', 'q', '5379', 'l', 'd', '9345', 'P', 'N', '7101', 'F', 'b', 'c', 'p', 'V', '2987']

SOLUTION: S, N, d, b, 2207, s, 4723, q, 5379, l, d, 9345, P, N

PROBLEM: 1, ['413', '8413', 'C', 't', '8899', 'U', '6869', '991', 'C', '7051', 'A', '1827', '3915', 'k', '6255', 'j', '1101', 'L', 'z']

SOLUTION: 413, 8413, C, t, 8899, U, 6869, 991, C, 7051, A, 1827, 3915, k, 6255, j, 1101, L

PROBLEM: 9, ['9461', 'o', 'A', 'A', 'r', 'H', '5639', '6567', 'L', 'Q', 'Y', '1395', '9787', '2357', 'H', 'N', 'v', '6085', 'p', '411', 'c', '1053', 'x']

SOLUTION:
9461, o, A, A, r, H, 5639, 6567, L, Q, Y, 1395, 9787, 2357