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: 12, ['7445', '9181', '2601', 'T', '4815', 'S', 'Z', '9753', '9883', '375', '2303', 'd', 'r', 'j', 'k', 'v', '4011', 'k', 'd', '8993', 'W', 'e', 'f', 'S', 'F', '4363', '4873', 'A']

SOLUTION: 7445, 9181, 2601, T, 4815, S, Z, 9753, 9883, 375, 2303, d, r, j, k, v

PROBLEM: 5, ['9459', '1635', 'l', '9595', '3745', 'e', 'X', 'u', 'l', 'R', 't', 'T']

SOLUTION: 9459, 1635, l, 9595, 3745, e, X

PROBLEM: 2, ['4845', '2425', '1937', 'b', '9999', 'M', 'D', 'h', 'n', 'm', 'Z', 'a', 'U']

SOLUTION:
4845, 2425, 1937, b, 9999, M, D, h, n, m, Z