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: 11, ['3835', '749', 'Y', '3367', 'h', 'U', 'O', 'o', 'Q', 'o', 'v', '5533', 'c', '1089', 'U', 'R', 'a', '3967', 'h', 's', '8523', 'X', '2009', '6383', 'U', '8921']

SOLUTION: 3835, 749, Y, 3367, h, U, O, o, Q, o, v, 5533, c, 1089, U

PROBLEM: 7, ['D', 'K', '9949', 'T', '8527', 'c', 'P', 'm', 'R', '2179', '8543', '5025', 'F', '2843', '9401', 'd', '8081', '567']

SOLUTION: D, K, 9949, T, 8527, c, P, m, R, 2179, 8543

PROBLEM: 1, ['8453', '9481', 'q']

SOLUTION:
8453, 9481