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, ['3119', 'N', '6795', 'r', 'o', 'i', '9875', 'e', 'I', 'A', 'd', 'X', '3333', '5535', '2003', 'D']

SOLUTION: 3119, N, 6795, r, o, i, 9875, e, I, A, d, X

PROBLEM: 6, ['6273', '5485', '2783', '577', 'n', 'P', 'z', '6023', 'b', '2017', 'w', 'C', '1521', 't']

SOLUTION: 6273, 5485, 2783, 577, n, P, z, 6023

PROBLEM: 3, ['I', 'j', '5437', 'y', 'j', '197', 'U', '1553', 'h', 'D', 'b', 'j', '1993', '7337', '7959', 'g', 't', '1445', '6007', 'p', '8535', '5479', '9011', 'c', '1121']

SOLUTION:
I, j, 5437, y, j, 197, U, 1553, h, D, b, j, 1993, 7337, 7959, g, t, 1445, 6007, p, 8535, 5479