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: 1, ['t', '8485']

SOLUTION: t

PROBLEM: 11, ['181', 'p', 't', '7795', '1223', '9481', 'c', '3629', 'Z', 'k', '9619', 'S', '8659', '6257', 'a', 'x', '6411', 'G', '2785', '2407', 'h', 'r', 'a', 'x', 'k', '4267', '8485']

SOLUTION:
181, p, t, 7795, 1223, 9481, c, 3629, Z, k, 9619, S, 8659, 6257, a, x