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, ['6621', 'R', 'w', '501', 'H', 'a', 'P', '203', '1433', 'z', 'R', 'G', 'U', 'V', 'F', 'B', 'O', 'H', '1915', 'P']

SOLUTION: 6621, R, w, 501, H, a, P, 203, 1433, z, R, G, U, V, F, B, O, H, 1915

PROBLEM: 6, ['909', '9935', '8651', '6685', '8645', '1675', 'g', 'L', 'f', 'T', '5367', 'k', 'M', '5485', 'j', 'z', 'U', 'Y', '1345', 'I', 'o', '623', '7885', '6679', 'y', '1103']

SOLUTION: 909, 9935, 8651, 6685, 8645, 1675, g, L, f, T, 5367, k, M, 5485, j, z, U, Y, 1345, I

PROBLEM: 2, ['p', '1943', 'M', 'F', '4815', '2741', 'E', 'i', 'P', '6071', '327', '6793', '3633', 'i', '7103', 'F', '2125']

SOLUTION:
p, 1943, M, F, 4815, 2741, E, i, P, 6071, 327, 6793, 3633, i, 7103