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: 1, ['x', '7625', 't', 'P']

SOLUTION: x, 7625, t

PROBLEM: 1, ['1149', 'L', 'Q', 'I', 'o', 'j', '6019', '5631', '7873', '3693', '9397', '5581', '2591', '6951', '9281', 'R', 'v', 'w', 'g', 'N', 'j', 'r', 't', 'Z', 'G']

SOLUTION: 1149, L, Q, I, o, j, 6019, 5631, 7873, 3693, 9397, 5581, 2591, 6951, 9281, R, v, w, g, N, j, r, t, Z

PROBLEM: 2, ['C', 'Q', 'C', '2583', 'S', '7127', 'Q', 'E', 'R', 'g', 'A', '2101', 'C', '2689', '1003', '4603', '7077', 'S', 'S', '31', '8613', 'B', 'u', '4709', 'E']

SOLUTION:
C, Q, C, 2583, S, 7127, Q, E, R, g, A, 2101, C, 2689, 1003, 4603, 7077, S, S, 31, 8613, B, u